What should you use to capture an exception that might occur when you are sending changes to the database server?
Interview question and answer by:
Rajkatie | Posted on: 8/4/2012 | Category:
ADO.NET Interview questions | Views: 487 | |
Points: 40
Select from following answers:- A try/catch block.
 - A using block.
- A while statement.
try/catch block captures exceptions, where using block automatically disposes resources even if an exception occurs, but it does not capture exceptions.
Show Correct Answer |
Source: MeasureUp.com |
|
Alert Moderator
Found interesting? Add this to: