不知道哪错了,专家前辈们帮帮忙,读取不了数据库的内容
<body><form name="form1" method="post" action="index.asp" target="_blank">
<p> </p>
<p align="center"><label for="用户名">
<label></label>
用户名:
<input name="example1" type="text" size="20" maxlength="15" />
</p>
<p align="center"><label></label>
密码:
<input name="example2" 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")
strConn="provider=microsoft.Jet.OLEDT.4.0;Date Source ="& Server.MapPath("yingyong0220.mdb")
conn.Open strConn
dim rs,strsql
trSql="Selet * Form user20 Where name Like'%"& Request.Form("example1")&"%'"
Set rs=conn.execute(strsql)
%>
</body>