Skip to main content
  • 353 Accesses

Summary

We began this chapter by reviewing VB .NET’s structured error handling. Then we discussed the sources of exceptions in ADO.NET database applications.

You saw how to handle exceptions thrown by the CLR and by the database. In particular, you learned how to handle both single and multiple database exceptions with the System.Data.SqlClient.SqlException class.

In the next chapter, you’ll look at transactions and how to maintain database integrity when multiple users are working concurrently.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Dan Maharry, James Huddleston, Ranga Raghuram, Scott Allen, Syed Fahad Gilani, Jacob Hammer Pedersen, Jon Reid

About this chapter

Cite this chapter

(2005). Handling Exceptions. In: Beginning VB .NET 1.1 Databases. Apress. https://doi.org/10.1007/978-1-4302-0010-9_18

Download citation

Publish with us

Policies and ethics