Murach's ASP.NET 2.0 Upgrader's Guide: VB Edition
How to use the GridView control

This chapter shows you how to use the new ASP.NET 2.0 GridView control. This control lets you display the data from a data source in the rows and columns of a table and makes it easy to manipulate and maintain that data.

Chapter 5 How to use the GridView control
An introduction to the GridView control 146
How the GridView control works 146
How the GridView and DataGrid controls compare 148
How to customize the GridView control 150
How to define the fields in a GridView control 150
Elements used to create and format fields 152
How to enable sorting 154
How to enable paging 156
How to customize paging 158
A list application that uses a GridView control 160
The Product List application 160
The aspx file 162
How to update GridView data 164
How to work with command fields 164
How to use events raised by the GridView control 166
How to insert a row in a GridView control 168
A maintenance application that uses a GridView control 170
The Category Maintenance application 170
The aspx file 172
The code-behind file 176
How to work with template fields 178
How to create template fields 178
The template version of the Category Maintenance application 180
The aspx code for the template version 180




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.