Ejemplo n.º 1
0
        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            int       empID   = Convert.ToInt32(txtEmployeeID.Text);
            bool      isfound = false;
            IAdminBLL objBLL  = BLLFactory.AdminBLLFactory.CreateAdminBLLObject();

            isfound = objBLL.CheckEmpID(empID);
            if (isfound)
            {
                lblSecurityQuestion.Visible = true;
                lblQuestion.Visible         = true;
                lblAnswer.Visible           = true;
                txtAnsr.Visible             = true;
                btnSubmt.Visible            = true;
                // btnClick.Visible = true;
                txtEmployeeID.ReadOnly = true;
            }
            else
            {
                lblMessage.Text = "Please Enter Valid Employee ID";
            }
        }