Search code examples
c#winformsdatarepeater

How to access controls inside DataRepeater


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?


Solution

  • dataRepeater1.CurrentItem.Controls["TextBox1"].Text