Answers for "C# check control type"

C#
0

C# check control type

foreach(Control c in List)
{
  if (c is TextBox)
  {
    ((TextBox)c).Text = "This should be the new text";
  }
}
Posted by: Guest on February-24-2021

C# Answers by Framework

Browse Popular Code Answers by Language