<body>
<form name="form1" method="post" action="index.asp" target="_blank">
<p> </p>
<p align="center"><label for="用户名">
<label></label>
用户名:
<input name="txtUser" type="text" size="20" maxlength="15" />
</p>
<p align="center"><label></label>
密码:
<input name="txtPwd" type="password" size="20" maxlength="15"/> </p>
<p align="center">
<input name="myLogin" type="submit" value="登陆" />
<input name="myCancle" type="reset" value="取消"/>
</p>
</form>
<%
Dim conn,strConn
Set conn=Server.CreateObject("ADODB.Connection")
conn.Open "provider=microsoft.Jet.OLEDT.4.0; Data Source="&Server.MapPath("attempt/yingyong0220.mdb")
dim rs,strsql
trSql="Select * from user20 Where [name] Like'%"& Request.Form("example1")&"%'"
Set rs=conn.execute(strsql)
%>
</body>
初学者,帮帮忙吧