Table.AcceptChanges() throws DeletedRowInaccessibleException

F

Fred Zolar

Table.AcceptChanges() throws DeletedRowInaccessibleException

When I delete a row from my datagrid and then access the deleted rows with

oTable = m_oTable.GetChanges(DataRowState.Deleted);

dotNET throws an error when I later call AcceptChanges() on the table.

GetChanges(DataRowState.Modified) and GetChanges(DataRowState.Added) works
fine. Anybody seen this error for AcceptChanges() before?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top