Answers for "for each textbox c#"

C#
2

for each textbox c#

foreach (Control x in this.Controls)
{
  if (x is TextBox)
  {
    ((TextBox)x).Text = String.Empty;
  }
}
Posted by: Guest on March-04-2020

C# Answers by Framework

Browse Popular Code Answers by Language