In This Article:
- Specifying Display Properties in the DataGrid and DataList
- Customizing Data-Binding Output in Templates
- On the Web
We have used the data Web controls a numberof times in code examples in the past two chapters. However, theappearance of the output has left a lot to be desired. Fortunately,making the DataGrid and DataList output more visually pleasing is quitesimple, even for artistically challenged developers like myself!
As we will see in this chapter, both theDataGrid and DataList expose a number of properties that makespecifying these details a breeze. Additionally, we’ll look at howeditors like Visual Studio .NET and the Web Matrix Project makespecifying the appearance of the DataGrid and DataList as easy clickinga few buttons. (Note that the Repeater control does not contain anysort of stylistic properties; the developer is responsible forspecifying any aesthetic properties directly in the HTML markup of theRepeater’s templates.)
Continues…