Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15436

VS 2019 Deleting Many Rows From A DataTable

$
0
0
Is their a bulk method for deleting all the rows in a DataTable such that the RowState for all rows is set to Deleted.

I have a table with several thousand records that I constantly clean out and replenish and looping through one row at a time takes a long time.

I used to use the Table.Clean() method, but that did not keep a record of the RowStates

Thanks
Richard

Viewing all articles
Browse latest Browse all 15436

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>