Using C#, how can I read the content of dynamic created textboxes?
问题 Hy, I have created some dynamic textboxes with standard content. Does anyone know how can I read the content of these textboxes (assuming that user modified the standard content) when I press one button? Thanks a lot. Jeff Update This is how I am creating the textboxes: foreach (string name in listOfNames) { TextBox tb = new TextBox(); tb.Text = name; tb.BorderStyle = BorderStyle.None; tb.BorderWidth = 0; tb.Font.Name = "Arial"; tb.Font.Size = 8; } 回答1: The specific will vary depending on the