Chapter 10. Creating Bindable Grids of Data

Data-bound controls play a key role in the development of ASP.NET applications. Data-driven controls allow you to associate the whole interface, or individual properties, with one or more columns read out of a .NET-compliant data source. We already mentioned data-bound controls in Chapter 9 and reviewed their basics. In this chapter, we’ll delve into the details of a couple of extremely versatile data-bound controls that are a fixed presence in any real-world ASP.NET application—the DataGrid control in ASP.NET 1.x and the GridView control in ASP.NET 2.0.

Both controls render a multicolumn, templated grid and provide a largely customizable ...

Get Programming Microsoft® ASP.NET 2.0 Core Reference, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.