October 2010
Intermediate to advanced
1920 pages
73h 55m
English
DataSource CachingYou can use Polling SQL cache dependencies with both the SqlDataSource and ObjectDataSource controls by setting the SqlCacheDependency property. For example, the page in Listing 29.43 caches the output of a SqlDataSource control until the Movies database table is modified.
Listing 29.43. PollingSQLDataSourceCache.aspx


In Listing 29.43, the SqlDataSource control includes both an EnableCaching property and a SqlCacheDependency property. A database name and table name are assigned to the ...
Read now
Unlock full access