سؤال

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?

هل كانت مفيدة؟

المحلول

dataRepeater1.CurrentItem.Controls["TextBox1"].Text
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top