| |||||
HtmlTableRowCollection.Remove MethodSystem.Web.UI.HtmlControls Namespace HtmlTableRowCollection Class Removes the specified table row object from the Rows collection. [ VB ] Public Sub Remove ( _ ByVal row As HtmlTableRow _ ) [ C# ] public void Remove ( HtmlTableRow row ); [ C++ ] public: void Remove ( HtmlTableRow* row ); [ JScript ] public function Remove ( row : HtmlTableRow ); Parameters
RemarksUse this method to remove the specified HtmlTableRow from the HtmlTableRowCollection. If you specify an HtmlTableRow that does not exist, no item is removed from the collection. ExampleThe following example demonstrates how to use the Remove method to dyamically remove the first row of an HtmlTable. // get table row object to remove HtmlTableRow myRow = myTable.Rows [ 0 ]; // remove from collection myTable.Rows.Remove ( myRow ); See AlsoHtmlTableRowCollection Members Rows.RemoveAt Rows.Clear |
| ||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme