[求助]用记登录
<%set rs=server.CreateObject("adodb.recordset")
rs.open "select * from denglu where name='"&name&"' and pwd='"&pwd&"'" ,conn,1,1
if request.Form("name")="" then
response.Write"<script language=javascript>alert('请输入用户名');history.back(-1);</script>"
response.End()
end if
if request.Form("pwd")="" then
response.Write"<script language=javascript>alert('请输入密码');history.back(-1);</script>"
response.End()
end if
name=trim(request.Form("name"))
pwd=trim(request.Form("pwd"))
if rs.eof then
response.Write"<script> alert('用户名或密码不正确');history.back(-1);</script>"
response.End()
else
session("name")=rs("name")
session("pwd")=rs("pwd")
response.Redirect"1.asp"
end if
rs.close
set rs=nothing
cn.close
set cn=nothing
%>
这什么不读取数据库中的数据库呢