J
Joe Curry
if (Cache["MyDatatable"] == null)
Fill MyDatatable
Cache.Insert("MyDatatable",dtDatatable,null,DateTime.Now.AddMinutes(5),Syste
m.TimeSpan.Zero);
In debug mode Cache["MyDatatable"].Rows.Count = 38;
else
dtDatatable = (System.Data.DataTable) Cache["MyDatatable"];
Now on a post back
In debug mode Cache["MyDatatable"].Rows.Count = 0;
What gives...
Fill MyDatatable
Cache.Insert("MyDatatable",dtDatatable,null,DateTime.Now.AddMinutes(5),Syste
m.TimeSpan.Zero);
In debug mode Cache["MyDatatable"].Rows.Count = 38;
else
dtDatatable = (System.Data.DataTable) Cache["MyDatatable"];
Now on a post back
In debug mode Cache["MyDatatable"].Rows.Count = 0;
What gives...