System.Web.UI.WebControls.TableRowCollection.Clear Method

Removes all System.Web.UI.WebControls.TableRow controls from the System.Web.UI.WebControls.TableRowCollection.

Syntax

public void Clear ()

Remarks

Use this method to remove all System.Web.UI.WebControls.TableRow objects from the System.Web.UI.WebControls.TableRowCollection and set the TableRowCollection.Count property to 0.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0