foreach (Control control in this.Controls[0].Controls)
            {
                if (control is HtmlForm)
                {
                    foreach (Control con in control.Controls)
                    {
                        if (con is ContentPlaceHolder)
                        {
                            foreach (Control ctrl in con.Controls)
                            {
                                   string id = ctrl.UniqueID;
                                    if (ctrl  is  Label)
                                    {
                                        this.TextBox1.Text = "abc";
                                    }
                            }
                        }
                    }
                }
            }

相关文章:

  • 2022-12-23
  • 2022-01-05
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-06
  • 2021-09-23
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案