The next five tutorials in the “Working with Data in ASP.NET 2.0” series is available online. These five new tutorials make up the “Custom Formatting” section of the series, and include:
- Custom Formatting Based Upon Data - Adjusting the format of the GridView, DetailsView, or FormView based upon the data bound to it can be accomplished in multiple ways. In this tutorial we'll look at how to accomplish data bound formatting through the use of the DataBound and RowDataBound event handlers.
- Using TemplateFields in the GridView Control - To provide flexibility, the GridView offers the TemplateField, which renders using a template. A template can include a mix of static HTML, Web controls, and databinding syntax. In this tutorial we'll examine how to use the TemplateField to achieve a greater degree of customization with the GridView control.
- Using TemplateFields in the DetailsView Control - The same TemplateFields capabilities available with the GridView are also available with the DetailsView control. In this tutorial we'll display one product at a time using a DetailsView containing TemplateFields.
- Using the FormView's Templates - Unlike the DetailsView, the FormView is not composed of fields. Instead, the FormView is rendered using templates. In this tutorial we'll examine using the FormView control to present a less rigid display of data.
- Displaying Summary Information in the GridView's Footer - Summary information is often displayed at the bottom of the report in a summary row. The GridView control can include a footer row into whose cells we can programmatically inject aggregate data. In this tutorial we'll see how to display aggregate data in this footer row.
As with the first 10 tutorials, the latest five include both C# and VB versions, can be downloaded as PDFs, and include the complete code download as a self-extracting ZIP file. Enjoy!
http://www.asp.net/Learn/DataAccess