【发布时间】:2010-11-23 03:03:50
【问题描述】:
谁能告诉我如何在我的 C# 代码中动态创建 thead tbody 标签?
private void MakeTable()
{
Table tb = new Table();
TableRow tr = new TableRow();
TableCell td = new TableCell();
td.Text="hello world";
tr.Cells.Add(td);
tb.Rows.Add(tr);
}
谢谢
【问题讨论】:
-
不知怎的,我把它读作“线程”,这完全没有意义。抱歉打扰了。
-
一样! (15 个烦人的字符占用空间)
标签: c# vb.net web-applications html-table