asp.net.ph

TableCellCollection.Clear Method

System.Web.UI.WebControls Namespace   TableCellCollection Class


Removes all table cell objects from the Cells collection of a given row.

[ VB ]
Public Sub Clear ( )

[ C# ]
public void Clear ( );

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

[ JScript ]
public function Clear ( );

Remarks

Use this method to remove all TableCell objects from the Cells collection of a specified row.

This method resets the Cells.Count property to 0.

Note that while this method removes the cells from a row, it does not remove the row from the table. To remove a row from the table, use the RemoveAt method of the Rows collection.

See Also

TableCellCollection Members   Cells.Remove   Cells.RemoveAt   Cells.Add   Cells.AddAt 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