2
Answers

Iterate through input form

Aalhussein

Aalhussein

5y
588
1
hi,
How can i iterate through an input form in aspx. I want to be able to clear all controls in an input form in a smarter way. The way I do it is to go into each control and do the following:
txtFname.Text = "";
ddlCountry.selectedItem.value = 0;
thanks  
Answers (2)