c# table 控件用法
更新時間:2009年05月07日 00:03:16 作者:
c# table 實例代碼
復制代碼 代碼如下:
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);
}
相關文章
asp.net String.IsNullOrEmpty 方法
2009-04-04