现在情况有变化了
我把代码做了改动
if request("t1")="" then
response.Write"请输入证书编号!<meta http-equiv=refresh content='1;url=chaxun.asp'>"
response.end
end if
t1=trim(request.form("t1"))
sql="select * from zhengshu where bianhao='"&t1&"'"
set rs=conn.execute (sql)
if rs.eof then response.Write"没有该记录,请确认输入是否正确!<meta http-equiv=refresh content='1;url=chaxun.asp'>"
response.end
end if
现在的错误是set rs=conn.execute (sql)这一句缺少对象
我把代码做了改动
if request("t1")="" then
response.Write"请输入证书编号!<meta http-equiv=refresh content='1;url=chaxun.asp'>"
response.end
end if
t1=trim(request.form("t1"))
sql="select * from zhengshu where bianhao='"&t1&"'"
set rs=conn.execute (sql)
if rs.eof then response.Write"没有该记录,请确认输入是否正确!<meta http-equiv=refresh content='1;url=chaxun.asp'>"
response.end
end if
现在的错误是set rs=conn.execute (sql)这一句缺少对象