void ResetControl(Control control)
{
foreach (Control ctrl in control.Controls)
{
if (ctrl is TextBox)
{
(ctrl as TextBox).Value = string.Empty;
}
…
}
}
No comments:
Post a Comment