Hour 15. Displaying Data with the DataGrid Web Control

In the past two hours, we examined what databases are, their importance, and how to retrieve data from them. As ASP.NET developers, what we are really interested in is being able to display data in an ASP.NET Web page; that's the topic of this hour and the next two.

In this hour we will examine the DataGrid Web control. As you will see, this Web control is designed for displaying two-dimensional data, such as the data in the results of a SQL SELECT query, by using an HTML <table> tag. The DataGrid is an incredibly powerful Web control that provides impressive functionality. In this hour we focus on the fundamentals of the DataGrid, looking at how to add a DataGrid to an ASP.NET Web page, ...

Get SAMS Teach Yourself ASP.NET in 24 Hours 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.