How can I use a Foreach Statement to do something to my TextBoxes?
foreach (Control X in this.Controls) { Check if the controls is a TextBox, if it is de
Check this:
foreach (Control x in this.Controls) { if (x is TextBox) { x.Text = ""; } }