Hi all,
I'm trying to figure out how to retrive records with a stored procedure. Below is what I have done so far:
Set StrConn=Server.CreateObject("ADODB.Connection"
StrConn.open "DbName","User","Pwd"
set rs=Server.CreateObject("ADODB.Command"
With rs
.ActiveConnection=StrConn
.CommandText="sp_ProcName"
.CommandType=adCmdTable
.Execute ,,
end with
What have I missed?
/Kent J.
I'm trying to figure out how to retrive records with a stored procedure. Below is what I have done so far:
Set StrConn=Server.CreateObject("ADODB.Connection"
StrConn.open "DbName","User","Pwd"
set rs=Server.CreateObject("ADODB.Command"
With rs
.ActiveConnection=StrConn
.CommandText="sp_ProcName"
.CommandType=adCmdTable
.Execute ,,
end with
What have I missed?
/Kent J.