Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

check control type in c#

foreach (Control c in panel.Controls)
    {
        if (c.GetType().Name == "TextBox")
        {
            c.Text = "";
        }
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #control #type
ADD COMMENT
Topic
Name
2+4 =