0
我使用HtmlTable,HtmlTableRow和HtmlTableCell創建了一個動態表。 終於我將它添加到Form.Controls.Add(thisHtmlTable);將動態html表添加到ASP表中
,但在錯誤的地方加入表...
`<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」 表單中?
感謝您的回答,
是的,你是對的!謝謝! – Jack 2010-01-12 11:50:50
如果是您正在尋找的答案,那麼您應該將其標記爲答案! – Krunal 2010-01-12 12:02:07