foreach (Control c in panel1.Controls) { if (c is TextBox) { TextBox txt = (TextBox)c; string msg = txt.Text; MessageBox.Show(msg); } }
YourArrayObject.Add(YourTextValue);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)