PC Review


Reply
Thread Tools Rate Thread

Database Connectivity using DSN

 
 
Arun K
Guest
Posts: n/a
 
      22nd Dec 2003

Hi,
I need to connect to SQL server Database using a System DSN. Can anyone
tell me how to connect to SQL Server using DSN in ASP.NET (VB.Net).
Using a Try Catch block.

Does anyone know how to create a "filename.DSN" file. I know how to
create a system DSN, but my N/W admin has asked me to create a DSN file
to send him. which would be a file name with ".DSN" extension.

thanks in advance.


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
 
Natty Gur
Guest
Posts: n/a
 
      23rd Dec 2003
Hi,

The following link explained how to do it. but I cant see why to use
oledb/odbc when you can use SQLclient namespace to access SQL server
natively.

http://www.devasp.com/samples/dsn_sql.asp

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Database connectivity Chuck B Microsoft ADO .NET 1 22nd May 2008 07:52 PM
Database connectivity deepak_ssoft@yahoo.co.in Microsoft Dot NET Compact Framework 1 20th Dec 2007 12:46 PM
database connectivity Rami Saad Microsoft Dot NET Compact Framework 1 2nd Mar 2004 03:10 PM
database connectivity using ADO Mohan Microsoft Outlook Form Programming 1 21st Jan 2004 02:26 PM
Database Connectivity using DSN Niks Microsoft ASP .NET 3 12th Jan 2004 02:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:35 AM.