G
gh
I have the following code, in an ASP.NET app, to setup a connection in
code.
string connectionString =
"DSN=Interbase;UID=SYSDBA;DB=C:\\Data\\MEMDATA.GDB;";
SqlConnection con = new SqlConnection(connectionString);
When I try to run the app I get the following error message
System.ArgumentException: Keyword not supported: 'dsn'.
How can I get an ODBC connection, to work with the code above?
TIA
code.
string connectionString =
"DSN=Interbase;UID=SYSDBA;DB=C:\\Data\\MEMDATA.GDB;";
SqlConnection con = new SqlConnection(connectionString);
When I try to run the app I get the following error message
System.ArgumentException: Keyword not supported: 'dsn'.
How can I get an ODBC connection, to work with the code above?
TIA