Hello.
I have asp.net web site which consumes data from two database.
Also, there are two connection strings in the web.config file: connectionString1 and connectionString2.
1) connectionString1 is a connection string to MS SQL Server.
2) connectionString2 may be connection string to the one of three DB - MSSQL, MySQL or Oracle. I have three connectionString2 templates for each of these DB.
For creating and testing connection 1 I'm using SQLConnectionDlg dialog with predefined SQL Server driver.
For creating and testing connection 2 I cannot use same SQLConnectionDlg dialog (it is possible create only one of them).
What is the best approach to create and test connection 2?
I think, I can create new dialog which looks like SQLConnectionDlg. But in this case user must type "ODBC Resource" manualy. Is it possible to use drop down list with existing ODBC drivers? And how I choose which connectionString2 template I must to use?
FOLLOW US
Get the latest news in Application Packaging