for (int i=0;i<Table1.Rows.Count;i++)
{
   for (int j=0;j<Table1.Rows(i).Cells.Count;j++)
   {
      foreach(object aa in Table1.Rows(i).Cells(j).Controls)
      {
         if (aa is TextBox)
         {
             TextBox t1=aa;
         ...................................
             Label1.Text=Label.Text+aa.Text+";"
         ....................................
         }
      }
   }
}这样就找到了

解决方案 »

  1.   

    直接用txt1.Text;txt2.Text;....就可以访问阿,前提是你提交后原来的动态产生的控件不能丢失。
      

  2.   

    to: 7710703(易水寒)
    ....
      if (aa is textbox)
    这一句有问题啊!怎么办?
      

  3.   

    我写的是 C#的代码,你直接相应的转换成VB的就可以了for (int i=0;i<Table1.Rows.Count;i++)
    {
       for (int j=0;j<Table1.Rows[i].Cells.Count;j++)
       {
          foreach(object aa in Table1.Rows[i].Cells[j].Controls)
          {
             if (aa is TextBox)
             {
                 TextBox t1=(TextBox)aa;
             ...................................
                 Label1.Text=Label.Text+t1.Text+",";
             ....................................
             }
          }
       }
    }