protected void btnSubmit_Click(object sender, EventArgs e)
    {
        ob_bel.WalletId    = 1;
        ob_bel.UserId      = Convert.ToInt32(Session["userid"]);
        ob_bel.AddedAmount = Convert.ToDecimal(txtamount.Text);
        int user = Convert.ToInt32(Session["userid"]);

        ob_bel.ActionBy = user;
        decimal WalletAmtFromAdd = 0;
        string  loginid          = Convert.ToString(Session["loginid"]);

        WalletAmtFromAdd = GetMainBalance(loginid);
        ob_bel.Amount    = WalletAmtFromAdd;

        int result = 0;

        try
        {
            result = ob_wallet.AddAdminBallance(ob_bel);

            if (result != 0)
            {
                ob_wallet.UpdateAdminBallance(ob_bel.AddedAmount, user);
                lblMessage.ForeColor = Color.Green;
                lblMessage.Text      = txtamount.Text + " rupees amount added into admin wallet.";
                BindUserWalletDetails(UserId);
                txtamount.Text = "";
            }
        }
        catch (Exception ex)
        {
            lblMessage.ForeColor = Color.Red;
            lblMessage.Text      = ex.Message;
        }
    }