IDictionary<string,> TextValues = new Dictionary <string,>(); foreach (Control c in this.Controls) { if (c.HasChildren) { foreach (Control TB in c.Controls) { if (c.HasChildren) { foreach (Control pB in TB.Controls) { if (pB is TextBox) { TextValues.Add(pB.Name, pB.Text); } } } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)