I sended to your private e-mail a project for this error. TIA, Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jiri Cincura Sent: Monday, January 08, 2007 4:20 PM To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] I get error when i try to assign connectionstring setting to FBConnection
Mercea Paul wrote: > I don't mean FBTableAdapter. TableAdapter get his connection from > fbconnection1. > Try this. > In your project on Settings define new setting as ConnStr, type > (ConnectionString) and put your connection string there, like "data > source=server;initial catalog=database;user id=SYSDBA;password=masterkey". > Drag on your form an FBConnection, this will create fbConnection1 and try > this: In .NET 2.0 isn't a good way to put FbConncetion on form. In Beta 1 it has been removed and will no be longer supported (I'm talking about design time support). Use ADO.NET 2.0 objects instead. > In properties exist Data category, where u can specify > (ApplicationSettings)->ConnectionString and select ConnStr. You will get > error. > If you define ConnStr as string, will work ok if that string is formatted as > a connectionstring. > > For me looks like is needed an convertion from connectionstring to string. > Thats all. I don't know any "connectionstring" data type. Can you post some link where I/we can find it? I'm little bt confused about this. BTW I'm using connstr in settings too: <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> <appSettings/> <connectionStrings> <add name="RssAggregatorConnectionString" connectionString="User=***; Password=***; Database=***; DataSource=fb.cincura.net; Port=3050; Dialect=3; Charset=UNICODE_FSS; Role=; Connection lifetime=15; Pooling=false; MinPoolSize=0; MaxPoolSize=50; Packet Size=8192; ServerType=0" providerName="FirebirdSql.Data.FirebirdClient"/> </connectionStrings> -- Jiri {x2} Cincura http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider