Beispiel #1
0
 void BindData()
 {
     try
     {
         var zone      = AdminMgr.GetSelectZoneId(HttpContext.Current, ddlZone);
         var cacheType = AdminMgr.GetSelectInt(ddlCacheType);
         var s         = WebServiceFactory.GetWebService(zone).ResetCache(cacheType);
         ShowMessage(s);
     }
     catch (Exception ex)
     {
         LogHelper.Insert(ex);
         ShowMessage("local exception:" + ex.Message);
     }
 }