My application should ask the user what SQL Server is connecting to and what credentials to use to connect, and I was wondering if there is a dialog box that someone already created is like OpenFileDialog that comes with the framework (in this you Show it, then you can ask which file was selected), but it looks like the login window in SQL Management Studio.
Ideally, I would look at the dialog, and then, once it is finished, I could get the .ConnectionString property, which returned a string associated with all the details that they selected.
If one time does not exist, I would like to start the process to create it, because I think it would be useful so that people just could give up the form and get concern about the database connection from the user.
Sqlryan
source share