帮我看看这个出错在哪里,谢谢!!
<!--#include files="adovbs.inc"-->
<script language="vbscript" runat="server">
function CheckPs()
set adocon=server.createobject("ADODB.Connection")
adocon.Open "student"
stuno=cint(request.form("txtno"))
stups=trim(request.form("txtps"))
sqlstr="select*from achievement where stuno=" & stuno & "and stups= '" & stups & "'"
set rsstu=adocon.Execute(sqlstr)
if rsstu.eof then
checkps=false
else
checkps=true
end if
rsstu.close
adocon.close
end function
</script>
<html>
<head>
<title> 身份确认</title>
</head>
<body>
<% if checkps() then
response.redirect "http://localhost/wrong.asp"
%>
<%else
response.write"对不起,你的用户名或密码有误,请重试!"
%>
<%end if%>
</body>
</html>
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Active Server Pages 错误 'ASP 0128'
缺少 File 或 Virtual 属性
/TMPaygmbij413.asp,行1
包含文件名必须用 File 或 Virtual 属性来指定。