protected void btnSubmit_Click(object sender, EventArgs e)
        {
            try
            {
                UserAccountBLL account = new UserAccountBLL();
                account.Type = ddlType.SelectedValue;
                account.TypeName = ddlType.SelectedItem.Text.ToString().Trim();
                account.UserId = (string)LumexSessionManager.Get("ActiveUserId");
                account.BankName = txtbxBankName.Text.Trim();
                account.BankAccountNo = txtbxAccountNo.Text.Trim();
                account.SwiftCode = txtbxSwiftCode.Text.Trim();
                account.CardOwnerName = txtbxCardOwnerName.Text.Trim();
                account.CardNumber = txtbxCardNumber.Text.Trim();
                account.CardExpireDate = txtbxCardExpireDate.Text.Trim();
                account.GateWayOwnerName = txtbxOwnerName.Text.Trim();
                account.OnlineEmail = txtbxEmail.Text.Trim();
                string message = "";
                if (btnSubmit.Text == "Submit")
                {

                    bool status = account.SavePaymentInfo();
                    if (status)
                    {
                        message = "Your " + ddlType.SelectedItem.Text + " payment Information has been saved.";
                        MyAlertBox(
                            "var callbackOk = function () { MyOverlayStart(); window.location = \"/a/account/paymentmethod.aspx\"; }; WarningAlert(\"" +
                            "Warning!!" + "\", \"" + message + "\", \"\");");
                    }

                }
                else
                {
                    //string serial = LumexSessionManager.Get("SerialForUpdate").ToString();
                    bool status = account.UpdatePaymentInfoBySerial();
                    if (status)
                    {
                        message = "Your " + ddlType.SelectedItem.Text + " payment Information has been Updated.";
                        MyAlertBox(
                            "var callbackOk = function () { MyOverlayStart(); window.location = \"/a/account/paymentmethod.aspx\"; }; WarningAlert(\"" +
                            "Warning!!" + "\", \"" + message + "\", \"\");");
                    }
                }
            }

            catch (Exception)
            {
                //throw;
            }
        }