ConnectionString for connecting to SQL Server Database?
See the question and my original answer on StackOverflowSince you can programmatically read the list of connectionstrings defined in the app.config, I suggest you create a list of connection strings and ask the user which one to use:
foreach(ConnectionStringSettings setting in ConfigurationManager.ConnectionStrings)
{
...
}
It's better than to ask for the server name, as you can give a nice name to a connectionstring entry.