HtmlTableRowCollection::Remove Method (HtmlTableRow^)
.NET Framework (current version)
Removes the specified HtmlTableRow object from the HtmlTableRowCollection collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- row
-
Type:
System.Web.UI.HtmlControls::HtmlTableRow^
The HtmlTableRow to remove from the HtmlTableRowCollection.
Use this method to remove the specified HtmlTableRow object from the HtmlTableRowCollection collection.
Note |
|---|
If you specify an HtmlTableRow that does not exist in the HtmlTableRowCollection, no item is removed from the collection. |
The following code example demonstrates how to use the Remove method to remove the specified table row, represented by an HtmlTableRow object, from the HtmlTableRowCollection collection. This example removes the cells from the first row of the HtmlTable control.
.NET Framework
Available since 1.1
Available since 1.1
Show:
