protected void dailyBonusGenerateButton_Click(object sender, EventArgs e)
        {
            try
            {
                UserAccountBLL accountBll = new UserAccountBLL();

                bool status = accountBll.generateDailyBonus(DateTime.Now.ToString("dd/MM/yyyy"));
                if (status)
                {
                    accountBll.InsertReceivePaymentWhenDailybonus();
                }

                DataTable dt = accountBll.getDailybounsListbyDateRange(DateTime.Now.ToString("dd/MM/yyyy"),
                    DateTime.Now.ToString("dd/MM/yyyy"));
                GridDailyBonusGenerate.DataSource = dt;
                GridDailyBonusGenerate.DataBind();
                if (GridDailyBonusGenerate.Rows.Count > 0)
                {
                    // btnTodayBonusGenerate.Visible = true;
                    GridDailyBonusGenerate.UseAccessibleHeader = true;
                    GridDailyBonusGenerate.HeaderRow.TableSection = TableRowSection.TableHeader;
                }

            }
            catch (Exception ex)
            {
                string message = ex.Message;
                if (ex.InnerException != null) { message += " --> " + ex.InnerException.Message; }
                MyAlertBox("ErrorAlert(\"" + ex.GetType() + "\", \"" + message + "\", \"\");");
            }
            finally
            {
                MyAlertBox("MyOverlayStop();");
            }
        }