DataTable::TableCleared Event


Occurs after a DataTable is cleared.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

event DataTableClearEventHandler^ TableCleared {
	void add(DataTableClearEventHandler^ value);
	void remove(DataTableClearEventHandler^ value);

The TableCleared event is fired immediately after all rows have been successfully cleared but before the Clear method returns control back to the caller. The TableCleared event is not fired if there are any exceptions during the clear operation.

.NET Framework
Available since 2.0
Return to top