i want delete rows from the Data table…while looping through
This article might be helpful to you.
We won’t able to delete the rows while looping as it would through target of invocation error
But still we can store the row index in a list(of int32) variable so that once after the loop we can use a separate loop to delete those rows
Here you go with an example