Summary

The DataGrid control is a powerful server control. As you learned in this chapter, it can do the following:

  • Display data from any number of data sources.

  • Provide flexible formatting capabilities.

  • Sort columns, both ascending and descending, based on the sorting in the underlying data source.

  • Provide paging with indicators in various formats.

  • Select a row.

  • Add, edit, and delete rows. (You'll learn how to add this functionality in Chapter 17, “Editing Data Using the DataGrid Control.”)

All this leads to a control that you are sure to take advantage of in your Web Form applications.

Get ASP.NET Developer's JumpStart 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.