62,041
社区成员
发帖
与我相关
我的任务
分享
public void a()
{
for (int i = 0; i < dsDeta.Tables[0].Rows.Count; i++)
{
TableRow row = new TableRow();
TableCell cell = new TableCell();
txtXuhao = new TextBox();
txtXuhao.Width = 78;
txtXuhao.ID = "txtXuhao" + i;
cell.Controls.Add(txtXuhao);
row.Cells.Add(cell);
HolderTable.Rows.Add(row);
}
}
public void b()
{
for (int i = 0; i < dsDeta.Tables[0].Rows.Count; i++)
{
//想得到所有textbox的值
}
}