System.Web.UI.HtmlControls.HtmlTableRowCollection.Insert Method

Adds an System.Web.UI.HtmlControls.HtmlTableRow object to the specified location in the collection.

Syntax

public void Insert (int index, HtmlTableRow row)

Parameters

index
The location in the System.Web.UI.HtmlControls.HtmlTableRowCollection at which to add the System.Web.UI.HtmlControls.HtmlTableRow.
row
The System.Web.UI.HtmlControls.HtmlTableRow to add to the System.Web.UI.HtmlControls.HtmlTableRowCollection.

Remarks

Use the HtmlTableRowCollection.Insert(int, HtmlTableRow) method to add the specified System.Web.UI.HtmlControls.HtmlTableRow object to an System.Web.UI.HtmlControls.HtmlTableRowCollection collection at the specified index. If you simply want to append an System.Web.UI.HtmlControls.HtmlTableRow to the end of the collection, use the HtmlTableRowCollection.Add(HtmlTableRow) method.

Requirements

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