Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition
How to use object data sources
This chapter shows you how to use object data sources to implement 3-layer applications in which the data access code is kept in data access classes. This lets you separate the presentation code from the data access code, but still lets you use the data binding features of ASP.NET 2.0.
|
|
|
|
How 3-layer applications work in ASP.NET
2.0 |
226 |
|
How to use the ObjectDataSource control |
228 |
|
How to configure an ObjectDataSource
control |
230 |
|
|
The aspx file |
234 |
|
The ProductDB class |
236 |
|
|
How to design a data access class |
238 |
|
How to create a select method |
240 |
|
How to create update, delete, and insert
methods |
242 |
|
How to use attributes to mark a data
access class |
244 |
|
|
The design of the Category Maintenance
application |
246 |
|
The aspx file |
246 |
|
The code-behind file |
250 |
|
The CategoryDB class |
250 |
|
|
How to create an aggregate data type |
254 |
|
How to use an aggregate data type |
256 |
|
How to check for concurrency errors |
258 |
|
How to use the generics feature to return
a typed list |
260 |
|
|
The code-behind file |
262 |
|
The CategoryDB class |
262 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike
Murach & Associates, Inc. All rights reserved.
|