很简单啊
<form name="form1" action="" method="post">
<input type=text>用户名
<input type=text>密码
<input type=button name=name value=提交>
<input type=reset name=name value=取消></form>
<%dim
rs,sql,name,password
name=request.form("name")
password=request.form("password")
set rs=server.createobject(adodb.recordset)
sql="select……………………………………"
if not(rs.bof and rs.eof) then
response.write"这个用户存在"
response.end()
else
response.write"你输入的用户名是:'"&name&"'
response.write"你输入的用户名是:'"&password&"'
response.end()
%>