foreach (Control c in this.rptList.Controls)
{
      Label lbEd = (Label)c.FindControl("lbEd");
      lbEd.Visible = true;
}

 

遍历Repeater中的Lable,设置是否显示

相关文章:

  • 2022-12-23
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
猜你喜欢
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案