【www.hzclsc.cn--苹果手机】
FILE: DYNAFORM.ASP
Dynamically Growing Form
Here are the Items submitted:
"
nItems = Request.Form("Items").Count
For I = 1 To nItems
" Show submitted Items
Response.Write Request.Form("Items")(I) "
"
Next
Response.Write Request("Item") "
"
Else
" Create the form from all items. %>
Items:
"
Next
If Request.Form("Item") "" Then
" paint a new input box, and store the old Item in Items collection
Response.Write "
"
Response.Write "
Please enter an Item,
"
Response.Write "and submit them one at a time
"
Response.Write "by pressing the Add Item button.
"
Response.Write ""
Else
" No Item was submitted, don"t show an error
Response.Write "
Please enter an Item,
"
Response.Write "and submit them one at a time
"
Response.Write "by pressing the Add Item button.
"
Response.Write "
"
End If
%>
本文来源:http://www.hzclsc.cn/pingguo/27906.html