Delete all rows from datatable

You should be careful with your terminology. Calling Clear actually "removes" all the rows from table. "Deleting" a DataRow and "removing" it are two different things.
 
Yea i know, i assumed a lot there. But based on the question i figured that it would be more about emptying the datatable rather than setting all the row states to deleted.
 
Back
Top