R
Roger Withnell
I have built websites in Classic ASP and am now building my first one in
ASP.NET.
In Classic ASP, I connect to my SQL Server database with:
Set ObjConn = Server.Createobject("ADODB.Connection")
strConnection = "DSN=db1; database=db2;UID=xxx;PWD=yyy;"
objConn.Open strConnection
What is the connection string in asp.net?
OleDbConnection("?")
Any help much appreciated.
Roger
ASP.NET.
In Classic ASP, I connect to my SQL Server database with:
Set ObjConn = Server.Createobject("ADODB.Connection")
strConnection = "DSN=db1; database=db2;UID=xxx;PWD=yyy;"
objConn.Open strConnection
What is the connection string in asp.net?
OleDbConnection("?")
Any help much appreciated.
Roger