笔记-动态生成表格
浏览量:3356
asp.net动态生成表格
HtmlTableRow row;
HtmlTableCell cell;
row = new HtmlTableRow();
cell = new HtmlTableCell();
cell.InnerHtml = "<th>【计划】 时间: </th>"
+ "<th>地点</th>" + " <th>内容</th>"
+ "<th>参与人</th>"
+ "<th>费用预算</th>"
+ "<th>编辑</th>";
row.Cells.Add(cell);
infoTable.Rows.Add(row);
+ "<th>地点</th>" + " <th>内容</th>"
+ "<th>参与人</th>"
+ "<th>费用预算</th>"
+ "<th>编辑</th>";
row.Cells.Add(cell);
infoTable.Rows.Add(row);