private bool checkPromotedEmployee()
    {
        VacancyRegistrationAndEvaluationManager vacRegisterManager = new VacancyRegistrationAndEvaluationManager();
        TransactionResponse response = null;

        response = vacRegisterManager.checkEmployeeInPromotiontable(EMPID.Trim());
        DataTable dataTable = (DataTable)response.Data;
        if (dataTable.Rows.Count > 0 && dataTable != null)
        {

            string MinuteNo = dataTable.Rows[0]["Minute_No"].ToString();
            string empBranch = dataTable.Rows[0]["branchName"].ToString();
            string JTitle = dataTable.Rows[0]["JobTitle"].ToString();
            string promotionDate = Convert.ToDateTime(dataTable.Rows[0]["promotionDate"]).ToShortDateString();
            string promStatus = dataTable.Rows[0]["status"].ToString();

            clearMsgPanel();
            msgPanel.Visible = true;
            ErroroDIV.Visible = true;
            lblErrorMsg.Text = "<u><b>"+
                "The Employee you are trying to register is recently selected. You can't register recently promoted employee eariler than 6 month</b></u>" +
                "<table style='color: #666666'><tr><td align='right' color: #666666 >Minute No. :</td><td>" + MinuteNo + "</td></tr>" +
                "<tr><td align='right' width='300'>For Post :</td><td>" + JTitle + "</td></tr>" +
                "<tr><td align='right' width='300'>For (Branch/District) :</td><td>" + empBranch + "</td></tr>" +
                "<tr><td align='right' width='300'>Promotion Date :</td><td>" + promotionDate + "</td>" +
                "</tr><tr><td align='right' width='300'>Promotion Status :</td><td>" + promStatus + "</td></tr></table>";

            return false;
        }

        return true;
    }