ObjectDataSource and Caching

Discussion in 'ASP .Net' started by Nightcrawler, Jul 30, 2007.

  1. Nightcrawler

    Nightcrawler Guest

    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
     
    Nightcrawler, Jul 30, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hypo
    Replies:
    6
    Views:
    420
  2. =?Utf-8?B?T2xkbWFu?=

    ASP.NET 2.0 ObjectDataSource caching

    =?Utf-8?B?T2xkbWFu?=, Dec 7, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    2,138
    =?Utf-8?B?T2xkbWFu?=
    Dec 9, 2005
  3. J055
    Replies:
    3
    Views:
    11,741
    Volant
    Aug 14, 2007
  4. Replies:
    0
    Views:
    360
  5. David Thielen

    ObjectDataSource method as another ObjectDataSource

    David Thielen, Mar 21, 2006, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    245
    Steven Cheng[MSFT]
    Mar 23, 2006
Loading...

Share This Page