asp.net.ph

HtmlTableRowCollection.Insert Method

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
);

Parameters

index
The location in the collection at which to add the table row.
row
The table row object to add to the collection.

Remarks

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.

Example

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 

See Also

HtmlTableRowCollection Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph