Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)错误
<!--#INCLUDE FILE="../asp/conn.asp" -->
<% response.Buffer=true %>
<% dim unmae
dim upass
if trim(request("uid")) ="" or trim(request("pwd")) ="" then
response.write "<center><br><font color=blue><b>密码不能为空,请正确输入密码,注意大小写、全角半角字符?!<p> <a href=# onclick='javascript:window.history.go(-1)'>返 回</a></font></b></center>"
response.end
else
Uname=cstr(trim(request("uid")))
Upass=cstr(trim(request("pwd")))
'IP= Request.ServerVariables("REMOTE_ADDR")
'response.write request.form1("uid")
set rs=server.CreateObject("adodb.recordset")
rsstr="select * from users where username='" & Uname &"' and userpsw='" &Upass& "'"
rs.open rsstr,conn,1,3
if rs.bof or rs.eof then
response.write "密码不能为空!!请输入密码!!"
else
response.Redirect("../index.htm")
'session("name ")=request("uid")
end if
end if
%>