Assembly: System.Web (in System.Web.dll)
Gets the number of HtmlTableCell objects in the collection.
Gets a value indicating whether thecollection is read-only.
Gets a value indicating whether access to thecollection is synchronized (thread safe).
Gets the HtmlTableCell object at the specified index from the collection.
Gets the object that can be used to synchronize access to thecollection.
Appends the specified HtmlTableCell object to the end of the collection.
Removes all HtmlTableCell objects from the collection.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Adds the specified HtmlTableCell object at the specified index location of the collection.
Removes the specified HtmlTableCell object from the collection.
Removes the HtmlTableCell object at the specified index from the collection.
Returns a string that represents the current object.(Inherited from Object.)
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
Use the HtmlTableCell objects that represent the cells of a single row in an HtmlTable control. This class is commonly used to add, remove, or modify the contents of a cell in a row of an HtmlTable control.class to programmatically manage a collection of
An HtmlTable control contains a Rows property that contains a collection of HtmlTableRow objects. Each HtmlTableRow object represents an individual row in the table. An HtmlTableRow object contains a Cells property that represents a collection of HtmlTableCell objects. These objects, in turn, represent the individual cells of a row. To retrieve an individual cell, first get the HtmlTableRow object that represents the row containing the cell in the table (from the Rows collection of the HtmlTable control). You can then get the HtmlTableCell object that represents the cell in the row (from the Cells collection of the HtmlTableRow object).
The following code example demonstrates how to dynamically generate the contents of an HtmlTable control by adding cells to an collection. Notice that the Cells property of a row, represented by an HtmlTableRow object, is the collection.
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.