日期:2014-05-18 浏览次数:21016 次
//textbox的添加 for (int m = 0; m < al.Count; m++) { for (int n = 2; n < 5; n++) { TextBox tb = new TextBox(); tb.Text = GridView1.Rows[(int)al[m]].Cells[n].Text; GridView1.Rows[(int)al[m]].Cells[n].Controls.Add(tb); } }