I'm just trying to put my shopping cart into cash
======================================

protected void GetCatalog()

{

// Load the catalog from cache

catalogds = (CatalogDS)HttpRuntime.Cache.Get("Catalog");

if (catalogds == null)

{

// Re-insert catalog into the cache

MyGolfGearDP dp = new MyGolfGearDP();

catalogds = new CatalogDS();

dp.FillCatalog(catalogds);

HttpRuntime.Cache.Insert("Catalog",catalogds,null,System.DateTime.MaxValue,System.TimeSpan.FromHours(24),CacheItemPriority.High,CacheItemPriorityDecay.Never,null);

}

}

======================================

do you have a better way to do this?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hqc3g5b/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1124484991/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to