【发布时间】:2011-01-04 03:33:38
【问题描述】:
我用 HtmlTable、HtmlTableRow 和 HtmlTableCell 创建了一个动态表。 最后我用 Form.Controls.Add(thisHtmlTable); 将它添加到表单中;
但是表格被添加到了错误的地方...
`<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">`
`<form id="formPort">`
<!--this is the place where i want the table to be added-->
</form><!--the table was added here!!!--></asp:Content>
有人知道如何将它添加到“formport”表单中吗?
感谢您的回答,
【问题讨论】:
标签: html asp.net forms html-table