DataTable.TableClearing Event

Definition

Occurs when a DataTable is cleared.

public:
 event System::Data::DataTableClearEventHandler ^ TableClearing;
public event System.Data.DataTableClearEventHandler TableClearing;
member this.TableClearing : System.Data.DataTableClearEventHandler 
Public Custom Event TableClearing As DataTableClearEventHandler 

Remarks

The TableClearing event is fired before processing of the Clear operation begins. This event is always fired when the Clear method is invoked, even if the table contains zero rows.

Applies to

See also