ASP.NET Syntax ASP.NET Syntax for HTML Controls
Creates a table column header or data cell control.
Declarative Syntax
<td or th id="accessID" runat="server"
align = "alignmentofcontentincell"
bgcolor = "backgroundcolor"
bordercolor = "bordercolor"
colspan = "#ofcolscellspans"
height = "cellheight"
nowrap=true | False
rowspan = "#ofrowscellspans"
valign = "vertalignmentofcellcontent"
width = "cellwidth">
CellContent
</td or /th>
For information on the individual members of this class, see HtmlTableCell in the class library.
The HtmlTableCell control enables programming of the HTML <td
> and <th
> elements. You can dynamically add cells to an HtmlTableRow control, whether in response to control events or through binding an HtmlTable control to the entries in a data source.
To see a sample of using the HtmlTableCell control, please refer to:
HtmlTableCell Class HtmlTable Class Web Forms Events and Handlers