มัน ขึ้น error ว่า Error Type:
ADODB.Field (0x80020009)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
/webmaster/My_webpage/logon.asp
<!--#include file="connectOLEDB.asp"-->
<%
userid=request.form("id")
userpass=request.form("pass")
%>
<%
sql="Select * From info where uid='" & userid & "'"
Set rs=Server.CreateObject("ADODB.Recordset")
rs.Open sql,Con,1,3
%>
<%
if rs.EOF then%>
ข้อมูลว่างเปล่า !
<%
end if
if userid = rs.fields("uid") and userpass = rs.fields("upass") then
response.redirect("logon.asp?id=" & userid)
end if
%>