Live Chat Icon For mobile
Live Chat Icon

How to display items stored in a local application Cache

Platform: ASP.NET| Category: Output Caching

VB.NET


Dim objItem As DictionaryEntry
For Each objItem In  Cache
   	Response.Write(('Key :' + objItem.Key.ToString() + '
'))
   	Response.Write((' Value :' + objItem.Value.ToString() + '
'))
Next 

C#


foreach(DictionaryEntry objItem in Cache) 
{ 
	Response.Write ('Key :' + objItem.Key.ToString () + '
');
	Response.Write(' Value :' + objItem.Value.ToString ()+ '
' ) ;
}

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.