asp.net.ph

TableRowCollection.Clear Method

System.Web.UI.WebControls Namespace   TableRowCollection Class


Removes all rows from a Table.

[ VB ]
Public Sub Clear ( )

[ C# ]
public void Clear ( );

[ C++ ]
public: void Clear ( );

[ JScript ]
public function Clear ( );

Implements

IList.Clear

Remarks

Use the Clear method to remove all TableRow objects from the Rows collection of a Table control.

This method resets the Rows.Count property to 0.

See Also

TableRowCollection Members   Rows.Add   Rows.AddAt   Rows.AddRange   Rows.Remove   Rows.RemoveAt Skip Navigation Links




Previous page Back to top Next page

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