//

    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        try
        {
            decimal percentage = Convert.ToDecimal(txtamount.Text);
            int     result     = 0;

            result = ob_wallet.UpdatePercentage(percentage);
            if (result != 0)
            {
                BindFixPercentage();
                txtamount.Text       = "";
                lblMessage.ForeColor = Color.Green;
                lblMessage.Text      = "Fixed amount percentage updated";
                BindPercentage();
            }
        }
        catch
        { }
    }