Allows programmatic access to the HTML <table
> element on the server.
The HtmlTable control <table runat=server
> specifies a container for arranging content into rows and columns of cells.
It behaves in much the same way as the standard HTML Table element, except that it is fully programmable.
The HtmlTable control lets you build up a table dynamically by adding HtmlTableRow controls to the table’s Rows collection and HtmlTableCell controls to the row’s Cells collection.
You can add content to a table cell programmatically by adding controls to the cell’s Controls collection.
The following sample illustrates using the HtmlTable control.
HtmlTable Control Syntax Table, TableRow, and TableCell Web Server Controls HTML TABLE Element