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 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. Thanks, Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Guzmán Álvarez Sent: Monday, January 08, 2007 3:51 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 Hello: > I set connection string in Properties.Settings.Default.AppConnStr > (Settings), where AppConnStr is defined as ConnectionString. AppConnStr I > could use everywhere I want. I don't need to set my connection in more than > one place. > Have u a better idea? > I think he means TableAdapter, ... -- Carlos Guzmán Álvarez Vigo-Spain http://carlosga.wordpress.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