System.Web.UI.HtmlControls Namespace
Provides access to the collection of rows found within an HtmlTable control.
An HtmlTable control contains a Rows property that represents a collection of HtmlTableRow objects, each corresponding to a single row in the table.
Use the HtmlTableRowCollection class, exposed via the HtmlTable.Rows collection, to programmatically manage the collection of table row objects in a given table.
This class provides the properties and methods that enable programmatic acess to any or all items in the collection, using simple array notation.
myTable.Rows [ index ]
myTable.Rows ( index ) |
|
C# |
VB |
This class is commonly used to dynamically add, remove, or modify the contents of a row in the HtmlTable control.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlTable in ASP.NET Syntax for HTML Controls.
HtmlTable HtmlTableRow HtmlTableCell HtmlTableCellCollection