R
Rui Oliveira
How to get a SQLConnection string from an ODBC DNS?
I have an ODBC DNS string, for example
DSN=DNSNAME;UID=USERNAME;PWD=PASSWORD;
Is possible get a connection string to use in SQLConnection class
(System.Data.SqlClient)?
The SQLConnection connection string is from type:
"Data Source=SERVERNAME\SQLEXPRESS;Initial Catalog=DATABASENAME;User ID=
USERNAME; password= PASSWORD;"
Thanks,
Rui
I have an ODBC DNS string, for example
DSN=DNSNAME;UID=USERNAME;PWD=PASSWORD;
Is possible get a connection string to use in SQLConnection class
(System.Data.SqlClient)?
The SQLConnection connection string is from type:
"Data Source=SERVERNAME\SQLEXPRESS;Initial Catalog=DATABASENAME;User ID=
USERNAME; password= PASSWORD;"
Thanks,
Rui