Hi
I am able to connect to the db, but unable to retrieve a recordset.
Does anybody has one that for sure works ?
Cheers
<!-- #Include File="adovbs.inc" -->
<%
set adoconn = server.createobject("adodb.connection")
set adoRec = server.createobject("adodb.connection")
adoconn.open = "Provider = sqloledb; Data Source = MYSRV; Initial Catalog = TestDB; User Id = Test.User1; Password = Entity48;"
adoRec.Open "SELECT Name FROM tblName", adoconn, adOpenKeySet,adLockOptimistic,adCmdText
adoconn.Close
Set adoconn = Nothing
%>
I am able to connect to the db, but unable to retrieve a recordset.
Does anybody has one that for sure works ?
Cheers
<!-- #Include File="adovbs.inc" -->
<%
set adoconn = server.createobject("adodb.connection")
set adoRec = server.createobject("adodb.connection")
adoconn.open = "Provider = sqloledb; Data Source = MYSRV; Initial Catalog = TestDB; User Id = Test.User1; Password = Entity48;"
adoRec.Open "SELECT Name FROM tblName", adoconn, adOpenKeySet,adLockOptimistic,adCmdText
adoconn.Close
Set adoconn = Nothing
%>