public HttpResponseBase ProductCopy()
 {
     string json = string.Empty;
     try
     {
         BLL.gigade.Model.Vendor vendorModel = (BLL.gigade.Model.Vendor)Session["vendor"];
         if (!string.IsNullOrEmpty(Request.Form["Product_Id"]) && !string.IsNullOrEmpty(Request.Form["Combination"]))
         {
             string product_id = Request.Form["Product_Id"].ToString();
             int writer_id = Convert.ToInt32((Session["vendor"] as BLL.gigade.Model.Vendor).vendor_id);
             int combo_type = Convert.ToInt32(Request.Form["Combination"]);
             string Product_Ipfrom = Request.UserHostAddress;//获取当前ip
             combo_type = (combo_type == 0 || combo_type == 1) ? 1 : 2;
             bool result = false;
             _productTempMgr = new ProductTempMgr(connectionString);
             string prod_id = "";
             result = _productTempMgr.VendorCopyProduct(writer_id, combo_type, product_id, ref prod_id, Product_Ipfrom);
             json = "{success:" + result.ToString().ToLower() + ",id:\"" + prod_id + "\"}";
         }
     }
     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;
 }