protected void PrematureGetInfo()
        {
            Errmsg.Text = "0";
            if (ddlSlabFlag.SelectedIndex == 0)
            {
                Errmsg.Text       = "1";
                txtMnthBelow.Text = string.Empty;
                ddlSlabFlag.Focus();
                ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Please Select Member Type');", true);
                return;
            }

            A2ZPENSIONDTO getDTO   = new A2ZPENSIONDTO();
            int           accType  = Converter.GetInteger(lblTCode.Text);
            Int16         SlabFlag = Converter.GetSmallInteger(ddlSlabFlag.SelectedValue);
            double        record   = Converter.GetDouble(99);
            Int16         period   = Converter.GetSmallInteger(txtMnthBelow.Text);

            //DateTime dat = DateTime.ParseExact(txtPreDate.Text, "dd/MM/yyyy", System.Globalization.CultureInfo.InvariantCulture);
            getDTO = (A2ZPENSIONDTO.PGetInformation(accType, SlabFlag, record, period));
            if (getDTO.NoRecord > 0)
            {
                txtMnthBelow.ReadOnly = true;
                txtIntRate.Text       = Converter.GetString(string.Format("{0:0,0.00}", getDTO.InterestRate));
                BtnPreSubmit.Visible  = false;
                BtnPreUpdate.Visible  = true;
                BtnPreDelete.Visible  = true;
            }
            else
            {
                BtnPreSubmit.Visible = true;
                BtnPreUpdate.Visible = false;
                BtnPreDelete.Visible = false;
            }
        }
        protected void PensionGetInfo()
        {
            A2ZPENSIONDTO getDTO   = new A2ZPENSIONDTO();
            int           accType  = Converter.GetInteger(lblTCode.Text);
            Int16         SlabFlag = Converter.GetSmallInteger(ddlSlabFlag.SelectedValue);
            double        record   = Converter.GetDouble(txtPensionRecord.Text);
            Int16         period   = Converter.GetSmallInteger(txtPeriodMth.Text);

            //DateTime dat = DateTime.ParseExact(txtPensionDate.Text, "dd/MM/yyyy", System.Globalization.CultureInfo.InvariantCulture);
            getDTO = (A2ZPENSIONDTO.PGetInformation(accType, SlabFlag, record, period));
            if (getDTO.NoRecord > 0)
            {
                txtBenefitAmt.Text     = Converter.GetString(string.Format("{0:0,0.00}", getDTO.MaturedAmount));
                txtPensionIntRate.Text = Converter.GetString(string.Format("{0:0,0.00}", getDTO.InterestRate));
                txtPenalAmt.Text       = Converter.GetString(string.Format("{0:0,0.00}", getDTO.PenalAmount));
                txtBonusAmt.Text       = Converter.GetString(string.Format("{0:0,0.00}", getDTO.BonusAmount));
                BtnSubmit.Visible      = false;
                BtnUpdate.Visible      = true;
                BtnDelete.Visible      = true;
            }
            else
            {
                BtnSubmit.Visible = true;
                BtnUpdate.Visible = false;
                BtnDelete.Visible = false;
            }
        }