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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top