O'Reilly logo

The ASP.NET 2.0 Anthology by Phil Haack, Jon Galloway, Wyatt Barnett, Jeff Atwood, Scott Allen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4 Pushing the Boundaries of the GridView

The introduction of the GridView control in ASP.NET 2.0 basically sent the DataGrid control to the dustbin of ASP.NET history. While the DataGrid served us well in its time, the GridView is the table control of choice now, as it boasts more functionality and extensibility than its predecessor.

Of course, there are still many situations in which Repeater or DataList controls are appropriate, but when you need rich sorting and paging, the GridView is hard to beat.

In fact, we like the GridView so much that we’ve dedicated this whole chapter to accomplishing various non-trivial tasks with the GridView. However, some of these techniques can be used with any of the table controls. For example, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required