DataTable.Reset Method

Definition

Resets the DataTable to its original state. Reset removes all data, indexes, relations, and columns of the table. If a DataSet includes a DataTable, the table will still be part of the DataSet after the table is reset.

public:
 virtual void Reset();
public virtual void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Overridable Sub Reset ()

Applies to

See also