Balas Blog..
Sharing knowledge in Project Portfolio Innovation Management (PPIM) and various Technology.
Monday, October 8, 2007
Clear Textbox
How to clear all the textboxes in my form
foreach (Control ctl in Page.Controls[1].Controls )
{
TextBox tb = ctl as TextBox;
if (tb!=null)
{
tb.Text = "" ;
}
}
Newer Post
Older Post
Home