I have a system DSN.How to c开发者_开发技巧onnect to the database in asp.net using DSN.I wanted the Connection String
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
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.
精彩评论