解决方案 »

  1.   

    foreach (Control vControl in Controls)  
      {  
      Label lable = vControl as Label;
      if (lable != null)  
      {  
         lable.Text = "1";
      }  
      }  
      

  2.   

    foreach (Control c in Controls)  
      {  
       if (c is Label)  
       {
     Label lbl=c as Label;
    }
    }
      

  3.   

    for(i=n,i<m,i++)
    {
    Label labeli = (Label)this.Controls.Find("label" + (i).ToString(), true)[0];
    labeli.Text="";
    }
      

  4.   

    foreach(Contorl c in Contorls)
    {
       if(c isLabel)
       {
          Label lb = c as Label;
          lb.Text = lb.Name == "label1" ? "1" : "0";
       }
    }没测试过,