O'Reilly logo

Sams Teach Yourself ADO.NET in 24 Hours by Paul Bertucci, Jason Lefebvre

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

Working with the DataGrid

The DataGrid Web control displays data in a grid, where each record is displayed horizontally. To see a DataGrid in action, see Figure 11.2 at the end of this section. The DataGrid generates an HTML table with the columns of data matching the columns of data returned from the data source.

Figure 11.2. The appearance of the DataGrid control from Listing 11.3.

You've seen the DataGrid used quite a bit in this book thus far mainly because the DataGrid can automatically generate columns without configuration. This makes it invaluable ...

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