Aalhussein

Aalhussein

  • NA
  • 133
  • 10.2k

Iterate through input form

Nov 7 2019 7:23 PM
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)