public void StoreGridInCache(String CacheKey, DataGridView _dataGrid) { //DataTable dtInCache = new DataTable(); HttpRuntime.Cache.Add(CacheKey, _dataGrid, null, DateTime.Now.AddHours(1), TimeSpan.Zero, CacheItemPriority.High, null); return; }
this.dataGridViewPopupDetails.DataSource = (DataGridView)HttpRuntime.Cache.Get(CacheKey);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)