public void btnReserve_Click(object sender, EventArgs e)
        {
            ProductCRUD productCrud = new ProductCRUD();
            CustomCRUD customCrud = new CustomCRUD();
            customCrud.Add(new Custom
            {
                Name = txtName.Text,
                Amount = Convert.ToDouble(txtAmount.Text),
                Email = txtEmail.Text,
                HoneyType = drpHoney.SelectedItem.Text,
                Number = Convert.ToInt64(txtNumber.Text),
                PurchaseDate = DateTime.Now

            });
            bool result = productCrud.UpdateByName(new Custom
             {
                 HoneyType = drpHoney.SelectedItem.Text,
                 Amount = Convert.ToDouble(txtAmount.Text)

             });
            if (result == true)
            {
                Response.Redirect("~/Default.aspx?IsSuccess=SuccessPurchase");
            }
            else
            {
                Response.Redirect("~/Default.aspx?IsSuccess=ErrorPurchase");
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            CustomCRUD customCrud = new CustomCRUD();
            if (DeleteID != 0)
            {
                customCrud.Delete(DeleteID);

            }

            List<Custom> customers = customCrud.GetList();
            rptClients.DataSource = customers;
            rptClients.DataBind();
        }