System.Web.UI.WebControls.TableRowCollection.Add Method

Appends the specified System.Web.UI.WebControls.TableRow object to the end of the System.Web.UI.WebControls.TableRowCollection.

Syntax

public int Add (TableRow row)

Parameters

row
The System.Web.UI.WebControls.TableRow object to add to the System.Web.UI.WebControls.TableRowCollection.

Returns

The index of the System.Web.UI.WebControls.TableRow.

Remarks

Use this method to add a System.Web.UI.WebControls.TableRow object to the end of a System.Web.UI.WebControls.TableRowCollection.

Requirements

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