The HtmlTable control allows developers to program against the HTML <table>
element. Developers can databind to a table control, and dynamically add rows and cells to the table using the methods provided by the HtmlTableRowCollection and HtmlTableCellCollection.
ASP+ Syntax
Required properties are noted in boldface type.
<table runat="server" id="programmaticID" align=left | center | right bgcolor="bgcolor" border="borderwidthinpixels" bordercolor="bordercolor" cellpadding="spacingwithincellsinpixels" cellspacing="spacingbetweencellsinpixels" height="tableheight" rows="collectionofrows" width="tablewidth" > <tr><td><td></tr> <tr><td><td></tr> </table>
Tasks
See Also
Web Forms Controls by Function | HtmlTable Class | HtmlTableCell Control | HtmlTableRow Control | HtmlForm Control | System.Web.UI.HtmlControls Namespace