Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition
How to use the DetailsView and FormView controls

The new DetailsView and FormView controls are ideal for any application that displays bound data one record at a time. This chapter shows you how to use them, either in conjunction with the GridView control, on their own, or in combination with other types of list controls.

Chapter 6 How to use the DetailsView and FormView controls
How to use the DetailsView control 186
An introduction to the DetailsView control 186
Attributes and child elements for the DetailsView control 188
How to add fields to a DetailsView control 190
How to enable paging 192
How to create a Master/Detail page 194
How to update DetailsView data 196
An introduction to command buttons 196
How to add command buttons 198
How to handle DetailsView events 200
How to fix the optimistic concurrency bug 202
The Product Maintenance application 204
The operation of the application 204
The aspx file 204
The code-behind file 210
How to use the FormView control 212
An introduction to the FormView control 212
How to work with the item template 214
How to work with the edit item and insert item templates 216
A Shopping Cart application that uses a FormView control 218
The operation of the application 218
The aspx file for the Order page 220
The code-behind file for the Order page 220




Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition

Learn more about this book

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.