Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: DSN Connection


Message #1 by "murali" <murali@c...> on Tue, 24 Sep 2002 12:26:44 +0530
Hi folks,

can't i use a DSN to get a Connection to the database in ADO.NET.can any
one please provide the connection string for a DSN connection.

thanks in advance

murali



Message #2 by Terrence Joubert <Terrence@v...> on Tue, 24 Sep 2002 11:13:51 +0400
"DSN=NameOfDSN"

You should be using the OdbcConnection component that comes with the ODBC
.NET Data Provider to connect to ODBC data sources through their DSN.

Cheers
Terrence

-----Original Message-----
From: murali [mailto:murali@c...] 
Sent: Tuesday, September 24, 2002 10:57 AM
To: ASP+
Subject: [aspx] DSN Connection

Hi folks,

can't i use a DSN to get a Connection to the database in ADO.NET.can any
one please provide the connection string for a DSN connection.

thanks in advance

murali




---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---

  Return to Index