asp.net.ph

Skip Navigation Links

HtmlTableRow Server Control

HtmlTableCell   HtmlTextArea


Represents the <tr> HTML element in an HtmlTable control.

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.

Generating Table Rows and Cells Dynamically
Run Sample | View Source
See Also

HtmlTableRow Control Syntax   Table, TableRow, and TableCell Web Server Controls   HTML TR Element



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note