Select from following answers:- Examine all rows returned by DataTable.GetErrors.

- Examine all rows that remain in the DataTable after updating.
- Call AcceptChanges and then examine all rows with an Unchanged row state.
- All Above
You can identify all rows that failed to update by calling the DataTable.GetErrors method.
After calling Update, all rows remain in the DataTable. This includes rows that did update and rows that failed to update.
When a row is successfully updated, the update process calls AcceptChanges. This sets the Original value to the Current value. Examining all rows with the same Original and Current column values gives you all the rows that updated successfully, not the rows that did not.
Show Correct Answer
Source: Measureup.com | Asked In: Many Interviews |
Alert Moderator