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

Hour 13. Handling ADO.NET Errors

The Microsoft .NET Framework provides a rich set of approaches, mechanisms, and events to handle the myriad of runtime code error situations that are possible for any type of application you will be writing—whether it is Web or Windows forms. One significant addition for .NET involves being able to add error messages to each row of data in a DataSet. This enables you to zoom in on issues on a row-by-row basis. In addition, these row errors persist with the DataSet even when being transferred using XML or XML Web services. This chapter deals with the errors that directly relate to ADO.NET and identifies the typical error scenarios you need to be aware of along with presenting several basic principles of how to ...

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