Chapter 6. Altering DataGrid Output

only for RuBoard

IN THIS CHAPTER

  • Understanding DataGrid Properties

  • Paging with the DataGrid

  • Sorting Columns

  • BoundColumns

  • Summary

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 DataGrid s 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 DataGrid s ”Using the built-in paging and custom paging

  • Sorting the DataGrid by columns

  • Using BoundColumns

only for RuBoard


Programming Data-Driven Web Applications with ASP. NET
Programming Data-Driven Web Applications with ASP.NET
ISBN: 0672321068
EAN: 2147483647
Year: 2000
Pages: 170

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net