W
Wysiwyg
I'm writing an application in C# with Visual Studio 2003.
I want to put a sql server connection dialog on a form used to configure an
application. This is for setting up the connection and saving the
user,password, server, and database with a "test connection" button. This is
for a configuration form as opposed to having the connection dialog
automatically pop-up every time the user starts the application and tries to
connect to a datasource.
Obviously, I can just have the user enter the user id, password, server, and
database but I'm looking to include the drop down lists of available servers
and databases like what is usually seen when creating database connections
without having to write the whole thing myself. I want a control to do this
ahead of actually running the application; it's just for saving the
connection settings. I am NOT looking to have the standard dialog show up
when the actual connection to the database is needed. I want to embed the
input fields into a form and not have a dialog pop up.
Is there already a library with this functionality? Something with a
"GetServerList" and "GetDatabaseList" type of methods if not an entire
control with all of the input fields?
Thanks!
Bill Faulk
I want to put a sql server connection dialog on a form used to configure an
application. This is for setting up the connection and saving the
user,password, server, and database with a "test connection" button. This is
for a configuration form as opposed to having the connection dialog
automatically pop-up every time the user starts the application and tries to
connect to a datasource.
Obviously, I can just have the user enter the user id, password, server, and
database but I'm looking to include the drop down lists of available servers
and databases like what is usually seen when creating database connections
without having to write the whole thing myself. I want a control to do this
ahead of actually running the application; it's just for saving the
connection settings. I am NOT looking to have the standard dialog show up
when the actual connection to the database is needed. I want to embed the
input fields into a form and not have a dialog pop up.
Is there already a library with this functionality? Something with a
"GetServerList" and "GetDatabaseList" type of methods if not an entire
control with all of the input fields?
Thanks!
Bill Faulk