Problem solve Get help with specific problems with your technologies, process and projects.

Book excerpt: Data sources and datasets in ADO.NET 2.0

This excerpt shows Visual Basic programmers how to create and use data sources in ADO.NET 2.0.

ADO.NET is the primary API for data access within the .NET Framework. The set of classes that are used for data access did not change much in the upgrade from ADO.NET 1.0 to v2.0; what did change, though, was the process for database application development.

Murach's ADO.NET 2.0 Database Programming with VB 2005 introduces developers to ADO.NET 2.0, illustrates the steps necessary to build WinForms and ASP.NET database applications and explains how to manage database processing, data retrieval and database management.

Chapter 3, How to work with data sources and datasets, covers the basics of first creating and then using data sources. Creation is quite simple, thanks to the Data Source Configuration Wizard. Use, in this case, is demonstrated binding a DataGridView control and TextBox controls to a data source. The chapter concludes with some advice for data error handling and a brief look at the graphical Dataset Designer.

Read "An introduction to ADO.NET 2.0" in this PDF file


Excerpted from  Murach's ADO.NET 2.0 Database Programming with VB 2005 (ISBN: 978-1-890774-43-1) by Anne Boehm.
Copyright © 2007. Published by  Mike Murach & Associates, Inc., and available at your favorite book seller. Reprinted with permission.


More on ADO.NET programming

Tip: What's ahead for ADO.NET in Visual Studio 2008 (
Book excerpt: ADO.NET 2.0 summarized (

Dig Deeper on ADO.NET development

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.