|
-
Jul 16th, 2004, 04:29 PM
#1
Thread Starter
Member
can I use a DSN to connect in asp.net
Is this still supported? If so, what is the syntax?
-
Jul 16th, 2004, 11:30 PM
#2
PowerPoster
Found this on the net:
' VB.NET
Imports System.Data.Odbc
...
Dim oODBCConnection As OdbcConnection
Dim sConnString As String = "Dsn=myDsn;" & _
"Uid=myUsername;" & _
"Pwd=myPassword"
oODBCConnection = New Odbc.OdbcConnection(sConnString)
oODBCConnection.Open()
-
Jul 17th, 2004, 07:31 AM
#3
Thread Starter
Member
Hellswraith
-yet again-
Thank You.
My goal is to answer one of your questions someday. If my boss knew that someone called "Hellswraith" was collaborating on my projects he would probably lose his mind.
-Ian
-
Jul 17th, 2004, 01:02 PM
#4
PowerPoster
lol, it was more or less a Diablo user name when I was playing that, now it has stuck... Doesn't mean I am a bad guy...lol. Glad to help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|