Cache[TextBox1.Text] = Jobs; Cache.Insert(TextBox1.Text, Jobs); Cache.Insert(TextBox1.Text,Jobs, null, DateTime.Now.AddMinutes(10), Cache.NoSlidingExpiration); string strCache = ""; string strKey; foreach (DictionaryEntry objItem in Cache) { strKey = objItem.Key.ToString(); strCache = strKey + " : " + DateTime.Now.ToString() + "Cache Expires at" + ":" + DateTime.Now.AddMinutes(10);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)