On Oct 29, 9:33 am, "Larry Smith" <no_spam@_nospam.comwrote:
I have a DataSet with 4 rows. I use .Delete command to delete a row
from it. I use .Count to get the number of remaining rows - still get
4, and if I try to access the rows, I get a
'DeletedRowInaccesibleException' on it. Has anyone seen this kind of
behaviour?
Thanks a lot in advance
Read the docs for "DataRow.Delete()". Review "AcceptChanges()" and
"RowState" in particular.
Thanks for your input. I had tried that, but I was getting worse
discrepancies with that. As in , in terms of dataset size...my table
was not getting saved accurately...