Murach's ASP.NET 3.5 with VB 2008
How to use the ListView and DataPager controls

This chapter shows you how to use two new ASP.NET 3.5 controls, ListView and DataPager, to work with data in your web applications. The ListView control is similar to the GridView control covered in chapter 15, but it has features that make it much more versatile. One of those features is that it provides for paging using the DataPager control.

Chapter 16 How to use the ListView and DataPager controls
How to use the ListView control 506
An introduction to the ListView control 506
How to configure a ListView control 508
How to work with the Layout template 510
How to work with the Item template 512
How to provide for sorting 514
How to provide for paging 516
How to customize paging 518
A list application that uses a ListView control 520
The Product List application 520
The aspx file 522
How to group ListView data 526
How to define the templates for a group 526
A Product List application that uses groups 528
The aspx file for the grouped Product List application 528
How to update ListView data 532
How to use buttons to perform update operations 532
How to work with the EditItem and InsertItem templates 534
How to use events raised by the ListView control 534
A maintenance application that uses a ListView control 536
The Category Maintenance application 536
The aspx file 538
The code-behind file 538




Murach's ASP.NET 3.5 with VB 2008

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.