private void ClearText(Control cParent)
{
foreach (Control c in cParent.Controls)
{
if (c.HasControls())
{
ClearText(c);
}
else
{
if (c is TextBox)
{
((TextBox)c).Text = string.Empty;
}
}
}
}