I have a adaptive server anywhere network server(version 7.0),it’s name is “TestServer”.
Now, Client want to connect this server using OdbcConnetion in DOTNET,How to set the connection string ?
I have a adaptive server anywhere network server(version 7.0),it’s name is TestServer. Now, Client
Share
The connection string for ODBC use DSN like this:
Using DSN requires the client to set up the ODBC DSN on the client computer.
Alternatively, you can include the driver details in the connection string if you know what ODBC driver the user has installed:
Then include the connection string in the creation of the OdbcConnection object:
Or after: