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's appearance

  • Paging DataGrids—Using the built-in paging and custom paging

  • Sorting the DataGrid by columns

  • Using BoundColumns

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.75.70