//private void FillReportingBossName()
        //{
        //    try
        //    {
        //        //     string OCODE = ((SessionUser)Session["SessionUser"]).OCode;
        //        ddlReportingTo.DataSource = empSetupDal.GetPersonInfo().ToList();
        //        ddlReportingTo.DataTextField = "FirstName";
        //        ddlReportingTo.DataValueField = "EID";
        //        ddlReportingTo.DataBind();
        //        ddlReportingTo.Items.Insert(0, new ListItem("--Select--", "0"));
        //    }
        //    catch (Exception ex)
        //    {
        //        throw ex;
        //    }
        //}

        // Employeement Data
        private void GetEmployemntInfo(string employeeid)
        {
            try
            {
                string Ocode = ((SessionUser)Session["SessionUser"]).OCode;

                HRM_PersonalInformations _personalInfo = employeeBll.getPersonalInfosByID(employeeid);

                if (_personalInfo.RegionsId != null)
                {
                    var employments = employeeBll.GetEmployemntInfo(employeeid, Ocode);
                    foreach (var item in employments)
                    {
                        lblRegion.Text           = item.RegionName;
                        lblOffice.Text           = item.OfficeName;
                        lblDepartment.Text       = item.DepartmentName;
                        lblSection.Text          = item.SectionName;
                        lblSubSction.Text        = item.SubSectionName;
                        lblGrade.Text            = item.GradeName;
                        lblDesignation.Text      = item.Desgination;
                        lblCategoryName.Text     = item.Category;
                        lblShit.Text             = item.TimeShifting + "-" + item.ShiftCode;
                        lblJoiningDate.Text      = ConvertDate(item.JoiningDate.ToString());
                        lblJobResposibility.Text = item.JobResponsibility;
                        lblEmployeeType.Text     = item.EmployeeTypeName;
                        lblEffectiveSlary.Text   = Convert.ToDecimal(item.EffectiveSlary).ToString("#,##0.00");
                        lblGrade.Text            = item.Grade;
                        if (item.OTApplicable == true)
                        {
                            lblOtApplicable.Text = "Yes";
                        }
                        else
                        {
                            lblOtApplicable.Text = "No";
                        }

                        if (item.Attendance_Bouns == true)
                        {
                            lblAttendanceApplicable.Text = "Yes";
                        }
                        else
                        {
                            lblAttendanceApplicable.Text = "No";
                        }

                        if (item.Late_Applicable == true)
                        {
                            lblLateApplicable.Text = "Yes";
                        }
                        else
                        {
                            lblLateApplicable.Text = "No";
                        }

                        if (item.Absence_Applicable == true)
                        {
                            lblAbsenceApplicable.Text = "Yes";
                        }
                        else
                        {
                            lblAbsenceApplicable.Text = "No";
                        }

                        if (item.Tax_Applicable == true)
                        {
                            lblTaxApplicable.Text = "Yes";
                        }
                        else
                        {
                            lblTaxApplicable.Text = "No";
                        }

                        if (item.PF_Applicable == true)
                        {
                            lblPFApplicable.Text = "Yes";
                        }
                        else
                        {
                            lblPFApplicable.Text = "No";
                        }
                        // lblOtApplicable.Text = item.OTApplicable.ToString();
                        // lblAttendanceApplicable.Text = item.Attendance_Bouns.ToString();
                        //lblAbsenceApplicable.Text = item.Absence_Applicable.ToString();
                        // lblTaxApplicable.Text = item.Tax_Applicable.ToString();
                        // lblPFApplicable.Text = item.PF_Applicable.ToString();
                        // lblLateApplicable.Text = item.Late_Applicable.ToString();
                        lblProbationPeriodFrom.Text = ConvertDate(item.ProbationPeriodFrom.ToString());
                        lblProbationPeriodTo.Text   = ConvertDate(item.ProbationPeriodTo.ToString());
                        lblConfirmationDate.Text    = ConvertDate(item.ConfiramtionDate.ToString());
                        lblGossSalary.Text          = Convert.ToDecimal(item.Salary).ToString("#,##0.00");

                        //lblReportingBoss.Text = item.ReportinBoss;

                        //Step-1
                        //int? step = item.Step;
                        //if (step == 1)
                        //{
                        //    lblStep.Text = "Step-1";
                        //}
                        //else if (step == 2)
                        //{
                        //    lblStep.Text = "Step-2";
                        //}
                        //else if (step == 3)
                        //{
                        //    lblStep.Text = "Step-3";
                        //}
                        //else if (step == 4)
                        //{
                        //    lblStep.Text = "Step-4";
                        //}
                        //else if (step == 5)
                        //{
                        //    lblStep.Text = "Step-5";
                        //}
                        //else if (step == 6)
                        //{
                        //    lblStep.Text = "Step-6";
                        //}

                        // Bank Info
                    }
                }
            }
            catch (Exception)
            {
                throw;
            }
        }