Murach's C# 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 21 How to use data sources with business objects
An introduction to object data sources 668
How 3-layer Windows applications work with object data sources 668
How to create an object data source 670
How to work with an object data source 672
How to use combo boxes with an object data source 672
How to use text boxes with an object data soure 672
How to use a DataGridView control with an object data source 674
The Order Entry application 676
The user interface 676
The class diagram for the Murach.Data library 678
The code for the Order Entry form 680
The code for the Find Customer form 688
The code for the OrderDB class 690




Murach's C#

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.