I’m working with c# ASP .Net, HtmlTable, HtmlTableRow, HtmlTableCell to create a table.
for example… i need to have some cells to be wrapped by <tfoot> and </tfoot>
i tried to do it with HtmlGenericControl to wrap these cells with the tag “tfoot” to the HtmlTable but it didn’t work.
i know that HtmlTableCell can have in the constructor “th” for “thead” and “td” for tbody.
but i need them to be wrapped with the actual “thead” and “tbody”.
Any Suggestions??
Here is how (below). All classes used are in System.Web.UI.WebControls.