HtmlTableRowCollection::Remove Method (HtmlTableRow^)

 

Removes the specified HtmlTableRow object from the HtmlTableRowCollection collection.

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

public:
void Remove(
	HtmlTableRow^ row
)

Use this method to remove the specified HtmlTableRow object from the HtmlTableRowCollection collection.

System_CAPS_noteNote

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: