<%
name=request.form("name")
pwd=request.form("pwd")
pwds=request.form("pwds")
if name="" or pwd="" then
response.write "用户或密码不能主空!"
else
%>
<%
if
pwd<>pwds then
response.write "密码和确认密码不一致"
else
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("sl.mdb")
exec="select * from login "
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,3,3
rs.addnew
rs("name")=name
rs("pwd")=pwds
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('记录添加成功!');" & "window.location.href = 'index.html'" & "</script>"
end if
end if
%>
请问那里出错了