user628347
user628347

Reputation: 201

How to Connect a Database in asp.net using odbc?

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

Answers (2)

user240141
user240141

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

Mantorok
Mantorok

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

Related Questions