ASP入门基础教程-使用Querystring 集合

http://tech.ddvip.com   2006年10月26日    社区交流

本文详细介绍ASP入门基础教程-使用Querystring 集合

<html>
<head><title>读取Form集合中特定元素对象的值</title></head>
<body>
<center>
request 对象的form 集合示例<p>
<hr size="2" width="80%" color="#cc9999">
<p><font color="red"><h2>欢迎登录本站点</h2></font><p>
下面是您所填写的基本信息,请确定是否正确。<p>
<%
Response.write("您的姓名是:" & Request.form("xm") & "<p>")
Response.write("您的性别是:" & Request.form("xb") & "<p>")
Response.write("您的密码是:" & Request.form("mm") & "<p>")
Response.write("您所学专业是:" & Request.form("ah") & "<p>")
Response.write("您的特长是:" & Request.form("xl") & "<p>")
Response.write("您的格言是:")
Response.write Request.form("adage") & "<p>"
%>
这些信息对吗?
<a href="4-3a.htm">如不对,返回</a>**||**<a href="4-3-2.asp">请点这里返回到教材</a></p>
<center>
</body>
</html>

  二、利用Querystring集合读取HTTP查询字符串中的参数

作者:含笑    责编:豆豆技术应用

正在加载评论...