DataTable.Reset Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

public virtual void Reset()

.NET Framework
Available since 1.1
Return to top
Show: