<INPUT type="text"name="MyName">
<%
Dim i,MyNameCount
IF Request.ServerVariables("Request_Method")="POST" Then
MyNameCount=Request.Form("MyName").Count
Else
MyNameCount=Request.QueryString("MyName").Count
End IF
For i=0 To MyNameCount
IF Request.ServerVariables("Request_Method")="POST" Then
Response.Write "MyName的文本框"&i&"="&MyNameCount=Request.Form("MyName")(i)
Else
Response.Write "MyName的文本框"&i&"="&MyNameCount=Request.QueryString("MyName")(i)
End IF
Next
%>