foreach (Control c in this.Controls)<br> {<br> Control tempC = c as TextBox;<br> if (tempC != null)<br> {<br> MessageBox.Show(((TextBox)tempC).Text);<br> }<br> }