O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this hour, you've seen the two major error-handling constructs of Try/Catch/Finally and On Error in action. These constructs along with the general design considerations should help you in your error-handling code. The general rule of thumb is to overhandle errors during development and trim back the excess when you near implementation. In addition, you've had a chance to build up a Windows Forms application that utilized a few of the typical error-handling situations that you will face day in and day out. These techniques, coupled with the data updating error conditions, will cover most of what you need for ADO.NET.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required