Murach's Visual Basic 2005
How to use data sources with business objects

This chapter shows you how to do database processing using object data sources, which are data sources that get their data from business objects. This lets you get the benefits of data binding that are provided by data sources, while keeping the data access code and business objects in a layer separate from the presentation code so that you can create true multi-layer applications.

Chapter 17 How to use data sources with business objects
An introduction to object data sources 568
How 3-layer Windows applications work with object data sources 568
How to add a reference to a class library 570
How to create an object data source 572
How to work with an object data source 574
How to use combo boxes with an object data source 574
How to use text boxes with an object data soure 574
How to use a DataGridView control with an object data source 576
The Order Entry application 578
The user interface 578
The class diagram for the MurachData library 580
The code for the Order Entry form 582
The code for the Find Customer form 588
The code for the OrderDB class 590




Murach's 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.