//遍历页面所有button,设置其可见属性为false
{


   
if (btn.GetType().Name == "Button"
    { 
     
//((TextBox)txtobj).Text = ""; 
     
//TextBox tb = new TextBox(); 
     
//tb = (TextBox)this.FindControl(txtobj.ID); 
     
//tb.Text = ""; 
     Button bt=new Button();
     bt
=(Button)this.FindControl(btn.ID);
     bt.Visible
=true;


    } 
}

相关文章:

  • 2022-12-23
  • 2021-12-08
  • 2021-09-02
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
猜你喜欢
  • 2021-12-02
  • 2021-11-21
  • 2021-07-03
  • 2021-12-01
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案