How to bring up connection manager.
-
When I add a new connection string in my .setting file it brings up a nice Connection Manager screen, which allows me to select the appropiate setting for my connection. I was just wondering if anyone knows how I could bring this screen up once my app has been installed at the client. To make it easier for him to select the connection string. Thanks.
-
When I add a new connection string in my .setting file it brings up a nice Connection Manager screen, which allows me to select the appropiate setting for my connection. I was just wondering if anyone knows how I could bring this screen up once my app has been installed at the client. To make it easier for him to select the connection string. Thanks.
Your requirement is not clear to me.Why do you want your end user to put the the connection string? In general, the end user should only install the application (I am assuming it's a desktop application). If you are working on a WebApp,then end user does not have that choice as the application would be in IIS server. The screen that you get that's a feature of Visual Studio.
-
When I add a new connection string in my .setting file it brings up a nice Connection Manager screen, which allows me to select the appropiate setting for my connection. I was just wondering if anyone knows how I could bring this screen up once my app has been installed at the client. To make it easier for him to select the connection string. Thanks.
If you feel that you really must do this, although it credits your users with more smarts than the average, download the SQLServer2008/2005 samples from here[^]. In the programmability part there is a sample called ServerConnect which does a pretty good imitation of a Connection Manager.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”