以下是一个页面的例子。
321.asp文件内容
<html><head></head><body><form action=123.asp name=form1>
请输入你要找的人的年龄:<input name=age value=13 size=5>
</form>
</body></html>
123.asp文件内容
<html><body>
<%set rs=server.createobject("adodb.recordset")
strconn=.......................
rs.open "select * from boys where ages="&request("age"),strconn,1,1
if not rs.eof then%>
年龄是:<%=rs("ages")%>
姓名是:<%=rs("names")%>
<%rs.movenext
end if
rs.close
set rs=nothing
%>
</body></html>
321.asp文件内容
<html><head></head><body><form action=123.asp name=form1>
请输入你要找的人的年龄:<input name=age value=13 size=5>
</form>
</body></html>
123.asp文件内容
<html><body>
<%set rs=server.createobject("adodb.recordset")
strconn=.......................
rs.open "select * from boys where ages="&request("age"),strconn,1,1
if not rs.eof then%>
年龄是:<%=rs("ages")%>
姓名是:<%=rs("names")%>
<%rs.movenext
end if
rs.close
set rs=nothing
%>
</body></html>
解决方案 »
- 怪了,我的帖子怎么访问不到了?
- 实时错误‘-2147467259(80004005)’[DBNETLIB][ConnectionRead(recv())]一般性网络错误。请检查网络文档。
- 怎样才能把text里的内容存为pdf或jpg的图片格式
- ●价值800元的“免费大餐”,跨平台集成开发工具REALbasic两周内免费申请●
- 为什么我调用excel程序里面,实现不了xlsheet.Range(xlsheet.cells(1, 1), xlsheet.cells(7, 7)).borders.linestyle = xlcontinuous
- MDI子窗体不能显示?
- 为什么我在自己创建的activex dll里面生成的错误,在调用的主进程中捕获不到?
- treeview问题!
- data控件如何打开带密码的access 数据库?
- 给csdn.net的几点建议.有同感者跟贴~
- post向表单递交
- ImageCombo控件如何添加图片?急!在线等待!
http://expert.csdn.net/Expert/TopicView.asp?id=378264&datebasetype=200109
http://www.triaton.com.cn/Private/Zip/eWskPlus.zip