Q&A

Q1:What is the best construct for handling errors?
A1: The Try/Catch/Finally structure is becoming the most common error-handling construct. It has significant advantages over On Error.
Q2:How will I know what errors to test for?
A2: You test for error conditions that are right for the application you are building. See the earlier discussion on design considerations.

Get Sams Teach Yourself ADO.NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.