((lable)myControl3.Controls[i]).Text = ...

解决方案 »

  1.   

    同楼上。
    或:
    foreach(Control ctl in myControl3.Controls)
    {
      if(ctl is Label)
      {
        ((Label)ctl).Text = ...
      }
    }
      

  2.   

    是改变label的text属性吗
    假设是:
    myControl3[i].Text="Hi";
      

  3.   

    ((Label)ctl).Text = ...
    进行类型强制转换就可以了:)
      

  4.   

    不用进行转换也行。
    foreach(Control ctl in myControl3.Controls)
    {
      if(ctl is Label)
      {
        ctl.Text ="你要的付值"
      }
    }