foreach (Control aa in this.Form.Controls)
{
if (aa.GetType().ToString() == "System.Web.UI.WebControls.TextBox")
{
((TextBox)aa).Text = string.Empty;
}
}
转载于:https://www.cnblogs.com/wxc-love/p/10968309.html
foreach (Control aa in this.Form.Controls)
{
if (aa.GetType().ToString() == "System.Web.UI.WebControls.TextBox")
{
((TextBox)aa).Text = string.Empty;
}
}
转载于:https://www.cnblogs.com/wxc-love/p/10968309.html