for (int i = 0; i < 10; i++)
{
TableRow tblrow = new TableRow();
for (int j = 0; j < 10; j++)
{
TableCell tblcell = new TableCell();
tblcell.Text = "单元格";
tblcell.BorderWidth = 1;
tblrow.Cells.Add(tblcell);
}
tbllist.Rows.Add(tblrow);
}
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did36060