<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>State Management</title><link>http://forums.asp.net/22.aspx</link><description>Managing ASP.NET state - ViewState, Application, Session, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=69&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3273365.aspx</link><pubDate>Fri, 03 Jul 2009 11:09:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273365</guid><dc:creator>MartijnG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273365.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3273365</wfw:commentRss><description>&lt;p&gt;thanks &lt;img title="Smile" border="0" alt="Smile" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif" /&gt;&lt;/p&gt;</description></item><item><title>Re: Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3270196.aspx</link><pubDate>Thu, 02 Jul 2009 03:25:54 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3270196</guid><dc:creator>gayan_aspnet</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3270196.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3270196</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;u r welcome!&lt;/p&gt;
&lt;p&gt;u can start from here..this is really good for a start&lt;/p&gt;
&lt;p&gt;&lt;a href="http://quickstarts.asp.net/QuickStartv20/aspnet/doc/caching/default.aspx"&gt;http://quickstarts.asp.net/QuickStartv20/aspnet/doc/caching/default.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3266223.aspx</link><pubDate>Tue, 30 Jun 2009 10:26:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3266223</guid><dc:creator>MartijnG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3266223.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3266223</wfw:commentRss><description>&lt;p&gt;Thanks Gayan
&lt;p&gt;
&lt;p&gt;I&amp;#39;m still a bit stuck for examples on where to start. Do you know of any good links to examples?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Martijn&lt;/p&gt;</description></item><item><title>Re: Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3262972.aspx</link><pubDate>Sun, 28 Jun 2009 23:33:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3262972</guid><dc:creator>gayan_aspnet</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3262972.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3262972</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;didn&amp;#39;t you try by casting the cache object to data set without putting it in to whole new dataset? because, cache returns generic object rather than a particular type. just give it a try!&lt;/p&gt;
&lt;p&gt;((DataSet)Cache[&amp;#39;xxx&amp;#39;]).methodname()&lt;/p&gt;
&lt;p&gt;cheers!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3262916.aspx</link><pubDate>Sun, 28 Jun 2009 21:25:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3262916</guid><dc:creator>MartijnG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3262916.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3262916</wfw:commentRss><description>&lt;p&gt;I finally got it working.&lt;/p&gt;
&lt;p&gt;The method I used was.&lt;/p&gt;
&lt;p&gt;1. Pull the cached dataset into a local dataset&lt;br /&gt;2. create a new dataset and add my one manual entry&lt;br /&gt;3. All the data from the dataset in step (1) to this dataset also&lt;br /&gt;4. remove the cached dataset&lt;br /&gt;5. Reinsert the data set from step (3) into the cache as a whole dataset&lt;br /&gt;
&lt;p&gt;Quite a lot of mucking around I could not take the existing cached dataset and just add one entry to it be using cache.add&lt;/p&gt;
&lt;p&gt;I’m still wondering if there is something I’ve missed, I’ve spend a fair bit of time on this and couldn’t get much happening by directly adding a row to the cached dataset&amp;nbsp;until I used the above 5 steps.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Martijn :)&lt;/p&gt;</description></item><item><title>Re: Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3262467.aspx</link><pubDate>Sun, 28 Jun 2009 11:20:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3262467</guid><dc:creator>malcolms</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3262467.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3262467</wfw:commentRss><description>&lt;p&gt;I think it would be a better option to add just the data to the cache, not the entire dataset.&amp;nbsp; The website will consume far less memory that way.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Adding an item to existing cache that is in the from of dataset</title><link>http://forums.asp.net/thread/3262333.aspx</link><pubDate>Sun, 28 Jun 2009 06:45:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3262333</guid><dc:creator>MartijnG</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3262333.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=22&amp;PostID=3262333</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I’m using a cache dataset that is the later bound to a drop down list. I need to be able to add an extra entry to the cache.&lt;/p&gt;
&lt;p&gt;I’ve found the .add method doesn’t not seem to work when the cache is a dataset. &lt;/p&gt;
&lt;p&gt;I’ve also attempted to work this by pulling the cache into a dataset, adding a new entry to the dataset, removing the original cache and then reinserting the dataset but working through some problems with this.&lt;/p&gt;
&lt;p&gt;Is there a far easier approach to this anyone knows about?&lt;/p&gt;
&lt;p&gt;Any feedback appreciated.&lt;/p&gt;
&lt;p&gt;Martijn :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>