private void populateEmployeeData(Vacancy vacancy)
    {
        vacancy.ResponsibleProcessorEID = loggedInEmpID;
        VacancyRegistrationAndEvaluationManager vacancyRegEvaluationManager = new VacancyRegistrationAndEvaluationManager(vacancy);
        List<string> empID = vacancyRegEvaluationManager.getListEmpIDForProcessorSecondPhase(evalutedEmpID);
        if (empID.Count != 0 && empID != null)
        {
            Employee emply = new Employee();
            emply.EmpID = empID[0];
            EmployeeManager EmployeeManager = new EmployeeManager(emply);
            Employee employee = EmployeeManager.detailOfEmployeToBeEvaluated(vacancy.VacancyNo, VacancyDate);
            if (employee != null)
            {
                //Get the current vacancy detail
                //Check vacancy status [if status = 7 interview only else if status = 8 exam only, else if status = 9 exam & interview]
                TransactionResponse response = new TransactionResponse();
                response = vacancyRegEvaluationManager.getVacancyDetail(vacancy);
                DataTable vacancyDetail = (DataTable)response.Data;

                string formtype = vacancyDetail.Rows[0]["vacancy_evaluation_form"].ToString();
                vacancyStatus = vacancyDetail.Rows[0]["status"].ToString();

                if (formtype == "2")
                {
                    if (vacancyStatus == "7")
                    {
                        ExamPanelforForm2.Visible = false;
                        InterviewPanelforForm2.Visible = true;
                    }
                    else if (vacancyStatus == "8")
                    {
                        ExamPanelforForm2.Visible = true;
                        InterviewPanelforForm2.Visible = false;
                    }
                    else if (vacancyStatus == "9")
                    {
                        ExamPanelforForm2.Visible = true;
                        InterviewPanelforForm2.Visible = true;
                    }
                }

                if (checkAlreadyEvaluatedApplicantAndDisplayForUpdate(employee, vacancy))
                {
                    return;
                }
                displayApplcantDetailEvaluationForm(employee);
            }
            else
            {
                UserDetialPanel.Visible = false;
                PanelApplicantmsg.Visible = true;
                ApplErrorDiv.Visible = true;
                lblApplicantErrormsg.Text = DBOperationErrorConstants.M_NO_EMPLOYEE_REGISTERED_FOR_PROCESSOR_SECOND_PHASE;
            }
        }
        else
        {
            UserDetialPanel.Visible = false;
            PanelApplicantmsg.Visible = true;
            ApplErrorDiv.Visible = true;
            lblApplicantErrormsg.Text = DBOperationErrorConstants.M_NO_EMPLOYEE_REGISTERED_FOR_PROCESSOR_SECOND_PHASE;
        }
    }