About the Code
This book contains Visual Studio projects that demonstrate complete solutions to problems. Most of the projects are console applications used because they most simply and clearly demonstrate the solution with minimal overhead and additional code. In some cases, Windows Forms and Web Forms projects are used to demonstrate solutions where user interface elements are involved. Multiple solutions to problems are sometimes presented. Where appropriate, one alternative will be recommended; in other cases, alternatives are equivalent; make your choice based on your specific application requirements.
All of the code examples in the book use C# as a programming language. Listing Visual Basic solutions would have made the book less readable, added hundreds of pages to its length, and increased both the cover price and weight. Visual Basic code for all solutions in addition to C# code is available on the book's web site, http://www.oreilly.com/catalog/9780596101404.
The code in the book shows how to accomplish ADO.NET programming tasks as clearly and concisely as possible. As a result, the code is not production quality in some aspects. My top three examples are:
Exception handling is not included for most solutions. Omitting exception handling makes solutions easier to understand by focusing on the key concepts. Exception handling is included and explained thoroughly when it is a key part of the solution. Always include good exception handling in your applications— MSDN has excellent ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access