public HttpResponseBase ProductDelete()
 {
     string json = json = "{success:false}";
     try
     {
         if (!string.IsNullOrEmpty(Request.Form["Product_Id"]))
         {
             string[] pro_Ids = Request.Form["Product_Id"].Split('|');
             _prodMgr = new ProductMgr(connectionString);
             foreach (string str in pro_Ids.Distinct())
             {
                 if (!string.IsNullOrEmpty(str))
                 {
                     uint product_id = uint.Parse(str);
                     Product pro = _prodMgr.Query(new Product { Product_Id = product_id }).FirstOrDefault();
                     if (pro != null && pro.Product_Status == 0)
                     {
                         if (_prodMgr.Delete(product_id))
                         {
                             json = "{success:true}";
                         }
                     }
                 }
             }
         }
     }
     catch (Exception ex)
     {
         Log4NetCustom.LogMessage logMessage = new Log4NetCustom.LogMessage();
         logMessage.Content = string.Format("TargetSite:{0},Source:{1},Message:{2}", ex.TargetSite.Name, ex.Source, ex.Message);
         logMessage.MethodName = System.Reflection.MethodBase.GetCurrentMethod().Name;
         log.Error(logMessage);
         json = "{success:false}";
     }
     this.Response.Clear();
     this.Response.Write(json);
     this.Response.End();
     return this.Response;
 }