System.Web.UI.HtmlControls Namespace HtmlTableRowCollection Class
Removes all table row objects from the Rows collection of a given table.
[ VB ] Public Sub Clear ( ) [ C# ] public void Clear ( ); [ C++ ] public: void Clear ( ); [ JScript ] public function Clear ( );
Use this method to remove all HtmlTableRow objects from the Rows collection of a specified table.
This method resets the Rows.Count property to 0.
The following example demonstrates how to use the Rows.Clear method to dynamically remove the rows in a table.
myTable.Rows.Clear ( );
Show me
HtmlTableRowCollection Members Rows.Remove Rows.RemoveAt
© 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