Why Datarow deleted rows is not accessible in datatable
I am having 5 rows in a datatable, it is binded with datagrid on screen i deleted one row , then same datatable i am using in some other method by using foreach method when coming to deleted row it shows datarows not accessible exception. But i didnt called for database,anyway that records should be available for deleting in db why when using foreach read that row exception is coming.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Amit GuptaRank #190 · 12.8K reputationPosted Mar 15, 2017, 6:18 AM EDT