1
When any rows gets deleted, it still exists in the datatable untill dt.AcceptChanges () was called.
You can access the deleted rows by using below snippet
- if (dataRow.RowState == DataRowState.Deleted)
- id = (string)dataRow["EmpId", DataRowVersion.Original];