【问题标题】:How to access controls inside DataRepeater如何访问 DataRepeater 中的控件
【发布时间】:2017-02-08 16:12:35
【问题描述】:

我在 WinForms DataRepeater (Microsoft.VisualBasic.PowerPacks.DataRepeater) 中有 2 个文本框和一个按钮

当按钮被点击时,我想访问这些文本框

我怎样才能做到这一点?

【问题讨论】:

    标签: c# winforms datarepeater


    【解决方案1】:
    dataRepeater1.CurrentItem.Controls["TextBox1"].Text
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-07-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多