gojohnnygogogogo
Programmer
hello,
I currently run sql in asp like :
sql = "SELECT * FROM vCurrentandHistoryfinal WHERE (((ID) Like '"&id&"')) "
If cstr(Param) <> "" And cstr(Data) <> "" Then
sql = sql & " And [" & cstr(Param) & "] = " & cstr(Data)
End If
Set rs = Server.CreateObject("ADODB.Recordset"
rs.Open sql, conn, 3, 3
I have created a store procedure with id as the parameter, but don't know how to use sp's with asp.
coiuld somebody post an example of what I need to do ?
thank you for any help.
I currently run sql in asp like :
sql = "SELECT * FROM vCurrentandHistoryfinal WHERE (((ID) Like '"&id&"')) "
If cstr(Param) <> "" And cstr(Data) <> "" Then
sql = sql & " And [" & cstr(Param) & "] = " & cstr(Data)
End If
Set rs = Server.CreateObject("ADODB.Recordset"
rs.Open sql, conn, 3, 3
I have created a store procedure with id as the parameter, but don't know how to use sp's with asp.
coiuld somebody post an example of what I need to do ?
thank you for any help.