Murach's ADO.NET 2.0 with VB 2005
How to work with object data sources

This chapter shows you how to use object data sources, which are data sources that get their data from business objects. This lets you get the benefits of data binding and still keep the data access and business classes in their own layers of a three-layer application.

Chapter 9 How to work with object data sources
An introduction to object data sources 276
How three-layer Windows applications work with object data sources 276
How to create an object data source 278
How to use an object data source 280
How to work with bound controls 282
How to work with a combo box 282
How to work with a text box 282
How to work with a DataGridView control 284
A Payment Entry application 286
The user interface 286
The class diagram for the PayablesData library 288
The code for the Vendor class 290
The code for the VendorDB class 290
The code for the Invoice class 294
The code for the InvoiceDB class 294
The code for the Vendor Invoices form 298
The code for the Payment Entry form 302




Murach's ADO.NET 2.0 with VB 2005

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.