Murach's ASP.NET 2.0 with C# 2005
How to use the GridView control

This chapter shows you how to use the GridView control, which replaces the ASP.NET 1.x DataGrid control. GridView makes it easy for you display and manipulate the data from a data source with only minimal C# code.

Chapter 14 How to use the GridView control
How to customize the GridView control 408
How the GridView control works 408
How to define the fields in a GridView control 410
Elements used to create and format fields 412
How to enable sorting 414
How to enable paging 416
How to customize paging 418
A list application that uses a GridView control 420
The Product List application 420
The aspx file 422
How to update GridView data 424
How to work with command fields 424
How to use events raised by the GridView control 426
How to insert a row in a GridView control 428
A maintenance application that uses a GridView control 430
The Category Maintenance application 430
The aspx file 432
The code-behind file 436
How to work with template fields 438
How to create template fields 438
The template version of the Category Maintenance application 440
The aspx code for the template version 440




Murach's ASP.NET 2.0 with C# 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.