Chapter 15

Working with Data—Advanced Topics

What You Will Learn in This Chapter:

  • How to change the formatting of the various data-bound controls using styles, themes, and skins
  • How to handle the various events that are fired by the data controls to change their appearance conditionally
  • How to hand-code the UI of data access pages to get complete freedom over the pages' structure and markup
  • How to use the built-in caching mechanisms to improve the performance of your website Code Downloads for this Chapter

You can find the code downloads for this chapter on the Download Code tab at The code is in the Chapter 15 download.

The previous three chapters introduced you to a lot of new concepts. Chapter 12 discussed databases in general and SQL Server 2012 Express LocalDB edition in particular. That chapter also covered the basic operations to create, read, update, and delete data. Chapter 13 focused mostly on working with the SqlDataSource control and the different data-bound controls that you have at your disposal. Finally, Chapter 14 explored the world of the ADO .NET Entity Framework, Microsoft's latest data access technology designed to speed up the way you write data access code.

To help you really understand the core concepts of data access, those three chapters focused mainly on the data source controls and the principles behind them, and much less on the presentation of data with the data-bound controls. Obviously, ...

Get Beginning ASP.NET 4.5: in C# and VB now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.