Clear datatable and get Null value

If you want to delete whole data in DataTable variable ( data and headers ) then just create a new instance of it like: YourDT = New System.Data.DataTable - it will create new empty instance of DT

2 Likes