7.12 Removing All Data

The Clear( ) method removes all rows from the DataTable:

dt.Clear();


    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference