Select from following answers:- Add a call to EndExecuteNonQuery to the callback. Bracket this call in a try-catch block.

- Check the return value of the EndExecuteNonQuery call.
- Check the return value of the BeginExecuteNonQuery call.
- All Above
Errors that occur during the execution of the operation are thrown as exceptions in the callback procedure. You must handle the exception in the callback procedure, not in the main application. See the example in this topic for additional information on handling exceptions in the callback procedure.
To catch, call EndExecuteNonQuery in the callback in a try-catch block. Catch the SqlException type to detect a database error.
Show Correct Answer
Source: Measureup.com | |
Alert Moderator