How to change any properties of all controls of a form?
Foreach(control ctrl in form1.controls) { If(ctrl.toSring()==”System.Web.UI.Webcontrols.Tetbox”) ((Textbox)ctrl).Text = “”; }
Foreach(control ctrl in form1.controls) { If(ctrl.toSring()==”System.Web.UI.Webcontrols.Tetbox”) ((Textbox)ctrl).Text = “”; }