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
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note