<!DOCTYPE html>
<html>
<body>
<form action="demo_form2.asp" method="post">
姓
<input type="text" name="name" value="Donald" />
<br>
名
<input type="text" name="name" value="Duck" />
<br>
<input type="submit" value="提交" />
</form>
<hr>
<p>从上面表单接收到的信息是:</p>
<%
如果 Request.Form("name")<>"" 则
Response.Write("<p>")
Response.Write("name=" & Request.Form("name"))
Response.Write("</p><p>")
Response.Write("name 属性的计数是:")
Response.Write(Request.Form("name").Count)
Response.Write("</p><p>")
Response.Write("姓=" & Request.Form("name")(1))
Response.Write("</p><p>")
Response.Write("名=" & Request.Form("name")(2))
Response.Write("</p>")
结束 if
%>
</body>
</html>