protected void Button1_click(object e, EventArgs ev)
      {
          AddProduct prod = new AddProduct
          {
              name   = pname.Value,
              price  = Convert.ToInt32(price.Value),
              Quant  = quantity.Value,
              Col    = col.Value,
              desc   = desc.Value,
              type   = type.Value,
              imgurl = img.Value
          };
          var edit = sc.EditProduct(prod, Convert.ToInt32(Request.QueryString["A"]));

          if (edit == true)
          {
              Response.Redirect("Home.aspx");
          }
      }