Select from following answers:- Set the adapter's ContinueOnUpdateError property to True and Add an event handler to the RowsUpdated event to override update termination.

- Set the adapter's AcceptChangesDuringFill property to True.
- Set the adapter's AcceptChangesDuringUpdate property to True.
- All Above
Setting the DataAdapter.ContinueUpdateOnError property to True ensures that an update continues if an error is encountered during a row update.
You can also handle the RowsUpdated event to ensure update continuation by resetting the RowUpdatedEventArgs.Status property from ErrorsOccurred to SkipCurrentRow.
Setting AcceptChangesDuringFill to True causes AcceptChanges to be called on a DataRow after it is added to the DataTable during any of the Fill operations. This does not ensure that an update continues if an exception occurs.
Show Correct Answer
Source: Measureup.com | |
Alert Moderator