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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0010-9_18
Publisher Name: Apress
Print ISBN: 978-1-59059-358-5
Online ISBN: 978-1-4302-0010-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books