Occurs after a DataTable is cleared.
Assembly: System.Data (in System.Data.dll)
Syntax
Public Event TableCleared As DataTableClearEventHandlerpublic event DataTableClearEventHandler TableClearedpublic:
event DataTableClearEventHandler^ TableCleared {
void add (DataTableClearEventHandler^ value);
void remove (DataTableClearEventHandler^ value);
}member TableCleared : IEvent<DataTableClearEventHandler,
DataTableClearEventArgs>
Remarks
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.
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements. See Also