Newbee question on Form

  • Thread starter Thread starter Raymond Du
  • Start date Start date
R

Raymond Du

Hi,

Using c# in ASP.Net, how do I loop through a form collection?

In ASP, I can do the following:
for each o in request.form
response.write o & ": " & request.form(o) & "<br>"
next

Thanks in Advance
 
hi
if you mean controls on the page then use the controls collection of the
page (page.controls).
 
Back
Top