Select from following answers:- Log the RowError value for all rows with a HasErrors value of True.
- Call AcceptChanges in a try-catch block after calling Update. Log exception information.
- Add a try-catch block around the call to Update. Log exception information.
- All Above
You can identify rows that failed to update by testing the HasErrors property. If HasErrors is True, the RowError gives an error message.
Do not call AcceptChanges before examining the HasErrors property. This method clears all errors.
Show Correct Answer
Source: Measureup.com | Asked In: Many Interviews |
Alert Moderator