You would get the ‘DeletedRowInaccessibleException
‘?when you try to access a deleted row in a dataset.
To retrieve the information of a deleted row in a dataset, use the overloaded property of DataRow
?object.
So instead of deletedRow[columnname]
, use deletedRow[columnname, DataRowVersion.Original]
.