example6.asp:<%name=request.form("name")tel=request.form("tel")set conn=server.createobject("adodb.connection")conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("example3.mdb")exec="select * from guestbook where name=''"+name+"'' and tel="+telset rs=server.createobject("adodb.recordset")rs.open exec,conn,1,1''jdwzw.cn%><html><head><title>无标题文档</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head> <body bgcolor="#FFFFFF" text="#000000"> <table width="100%" border="0" cellspacing="0" cellpadding="0"><%do while not rs.eof%><tr><td><%=rs("name")%></td><td><%=rs("tel")%></td><td><%=rs("message")%></td><td><%=rs("time")%></td></tr><%rs.movenextloop%></table></body></html>