System.Web.UI.HtmlControls Namespace HtmlTableRowCollection Class
Adds a table row object at a specified index location in the Rows collection.
[ VB ]
Public Sub Insert ( _
ByVal index As Integer, _
ByVal row As HtmlTableRow _
)
[ C# ]
public void Insert (
int index,
HtmlTableRow row
);
[ C++ ]
public: void Insert (
int index,
HtmlTableRow* row
);
[ JScript ]
public function Insert (
index : int,
row : HtmlTableRow
);
- index
- The location in the collection at which to add the table row.
- row
- The table row object to add to the collection.
Use the Insert method to add the specified HtmlTableRow to an HtmlTableRowCollection at the specified index. If you need to simply append an HtmlTableRow to the end of the collection, use the Add method.
The following example demonstrates how to use the Insert method to dynamically insert a table row at a specified index in the Rows collection.
Show me
HtmlTableRowCollection Members