问题
I have 2 textBoxes inside WinForms DataRepeater (Microsoft.VisualBasic.PowerPacks.DataRepeater) and a button
When the button is clicked, I want to access these textBoxes
How can I achieve this?
回答1:
dataRepeater1.CurrentItem.Controls["TextBox1"].Text
来源:https://stackoverflow.com/questions/8029053/how-to-access-controls-inside-datarepeater