Reputation: 201
I have a system DSN.How to connect to the database in asp.net using DSN.I wanted the Connection String
Upvotes: 1
Views: 13406
Reputation:
Check out the link , has both DSN and DSN less ODBC connectivity using ADO.Net http://www.easysoft.com/developer/languages/csharp/ado-net-odbc.html
Upvotes: 2
Reputation: 5266
One way of finding out the connection string is to create a connection in Server Explorer in Visual Studio, then check the properties of the connection and you will see a Connection String property that will give you what you need.
Upvotes: 0