Creating Templates Dynamically

Conclusion

The TemplateColumn class used in a DataGrid control lets you create a column with a customized control layout. This is extremely helpful in many circumstances. You use templates when you want to apply special formatting features not available through more direct channels such as CSS styles or the DataFormatString property of other column classes. You also use templates to combine several fields in a single layout to improve readability and user-friendliness. Templates are also the key to a meaningful graphical representation of data.

So far you know how to retrieve and present data. In Chapter 4, we ll delve deep into the editing capabilities of the DataGrid control.



Building Web Solutions with ASP. NET and ADO. NET
Building Web Solutions with ASP.Net and ADO.NET
ISBN: 0735615780
EAN: 2147483647
Year: 2002
Pages: 75
Authors: Dino Esposito

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