asp.net.ph

TableRowCollection.GetRowIndex Method

System.Web.UI.WebControls Namespace   TableRowCollection Class


Returns the index of a row in a Table.

[ VB ]
Public Function GetRowIndex ( _
   ByVal row As TableRow _
) As Integer

[ C# ]
public int GetRowIndex (
   TableRow row
);

[ C++ ]
public: int GetRowIndex (
   TableRow* row
);

[ JScript ]
public function GetRowIndex (
   row : TableRow
) : int;

Parameters

row
The TableRow to search for in the collection.

Return

The index number of the specified TableRow within the collection.

Remarks

Use the GetRowIndex method to find a specified TableRow from the TableRowCollection. If the specified TableRow is not found, an index of -1 is returned.

See Also

TableRowCollection 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