Chapter 6. Altering DataGrid Output

IN THIS CHAPTER

In Chapter 5, “Using a Basic DataGrid,” you learned how to work with the basic ASP.NET DataGrid server control. You also learned how to get data and bind it to a DataGrid so it can be rendered as HTML on a client browser. In this chapter, you're going to learn how to alter the DataGrid cosmetically. You'll also learn how to build DataGrids that use paging to show only a select amount of data at a time, and that use sorting to allow the user to click on a column heading. Finally you'll learn to re-sort the data in the DataGrid.

This chapter will cover the following:

  • Properties for altering a DataGrid

Get Programming Data-Driven Web Applications with ASP.NET 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.