<%
Set objConn = Server.CreateObject( "ADODB.Connection" )
objConn.Open "DSN=****;Uid=****;Pwd=****"
Set objRS = Server.CreateObject( "ADODB.Recordset" )
objRS.Open "SELECT * FROM passports WHERE sspnumber = 2075" objConn, 3, 1
If objRS.RecordCount > 0 Then
response.write "works"
Else
response.write "notthere"
End If
Set objRS = Nothing
objConn.Close
Set objConn = Nothing
%>
Can you tell me what could be causing this in my coding?
2007-01-05
12:47:23
·
4 answers
·
asked by
Anonymous
in
Computers & Internet
➔ Programming & Design