public DataTable SetCategoryCache() { DataTable dt = null; AppCache.Remove("CATEGORYCACHE"); string sSql = string.Format("select * from K_Category where IsDel=0"); dt = InfoHelper.ExecuteSQL(sSql); if (dt != null && dt.Rows.Count > 0) { AppCache.Add("CATEGORYCACHE", dt); } return(dt); }