For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > July 2007 > ObjectDataSource and Caching









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ObjectDataSource and Caching
Nightcrawler

2007-07-30, 7:11 pm

I am using the ObjectDataSource to bind to a DropDownList. I have
enabled the cache on the ObjectDataSource since the data it is
selecting will most likely not chage in the near future (countries).
Is there a way to access this cache data on a different page?

I figure if I Already have it cached why should I query the database
a
agin for this information if I can just cast the cache object to a
DataTable and query it that way.


Please let me know.


Thanks

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com