System.Web.UI.HtmlControls.HtmlTableCellCollection.Insert Method

Adds the specified System.Web.UI.HtmlControls.HtmlTableCell object at the specified index location of the System.Web.UI.HtmlControls.HtmlTableCellCollection collection.

Syntax

public void Insert (int index, HtmlTableCell cell)

Parameters

index
The location in the System.Web.UI.HtmlControls.HtmlTableCellCollection at which to add the System.Web.UI.HtmlControls.HtmlTableCell.
cell
The System.Web.UI.HtmlControls.HtmlTableCell to add to the System.Web.UI.HtmlControls.HtmlTableCellCollection.

Remarks

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

Requirements

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