protected void btnCommissionOK_OnClick(object sender, EventArgs e)
 {
     UserAccountBLL accountBll = new UserAccountBLL();
     UserBLL userBll = new UserBLL();
     accountBll.Amount = txtbxCommissionAmount.Text.Trim();
     userBll.UserId = (string) LumexSessionManager.Get("ActiveUserId");
     if (userBll.varifypin(userBll.UserId,txtbxPinCommission.Text))
     {
         if (Convert.ToDecimal(accountBll.Amount) <= Convert.ToDecimal(lvlCommision.Text))
         {
             bool status =
                 accountBll.UpdateUserIncomeBalanceFromCommission(
                     (string) LumexSessionManager.Get("ActiveUserId"), accountBll.Amount);
             if (status)
             {
                 string message = " <span class='actionTopic'>" + " Income Balance Updated Successfully " +
                                  "</span>.";
                 MyAlertBox(
                     "var callbackOk = function () { window.location = \"/a/account/myaccount.aspx\"; }; SuccessAlert(\"" +
                     "Process Succeed" + "\", \"" + message + "\", callbackOk);");
             }
             else
             {
                 string message = " <span class='actionTopic'>" + " Transfer Failed " +
                                  "</span>.";
                 MyAlertBox(
                     "var callbackOk = function () { window.location = \"/\"; }; SuccessAlert(\"" +
                     "Process Succeed" + "\", \"" + message + "\", \"\");");
             }
         }
         else
         {
             string message = " <span class='actionTopic'>" + "Sorry You don't have sufficent Balance." +
                                  "</span>.";
             MyAlertBox(
                 "var callbackOk = function () { window.location = \"/\"; }; WarningAlert(\"" +
                 "Warning!!" + "\", \"" + message + "\", \"\");");
         }
     }
     else
     {
         string message = " <span class='actionTopic'>" + " Invalid Pin. " +
                                  "</span>.";
         MyAlertBox(
             "var callbackOk = function () { window.location = \"/\"; }; WarningAlert(\"" +
             "Warning!!" + "\", \"" + message + "\", \"\");");
     }
 }