Murach's ASP.NET 2.0 with VB 2005
How to use the DetailsView and FormView controls

The DetailsView and FormView controls, new in ASP.NET 2.0, are ideal for any application that displays bound data one row at a time. This chapter shows you how and when to use each one.

Chapter 15 How to use the DetailsView and FormView controls
How to use the DetailsView control 446
An introduction to the DetailsView control 446
Attributes and child elements for the DetailsView control 448
How to add fields to a DetailsView control 450
How to enable paging 452
How to create a Master/Detail page 454
How to update DetailsView data 456
An introduction to command buttons 456
How to add command buttons 458
How to handle DetailsView events 460
How to fix the optimistic concurrency bug 462
The Product Maintenance application 464
The operation of the application 464
The aspx file 464
The code-behind file 470
How to use the FormView control 472
An introduction to the FormView control 472
How to work with the Item template 474
How to work with the EditItem and InsertItem templates 476
A Shopping Cart application that uses a FormView control 478
The operation of the application 478
The aspx file for the Order page 480
The code-behind file for the Order page 480




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