Subscribe to Code Snippets
Control myForm = Page.FindControl("Form1"); foreach (Control ctl in myForm.Controls) if (ctl.GetType().ToString().Equals("System.Web.UI.WebControls.TextBox")) ((TextBox)ctl).Text = "";
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend