protected void txtEid_LV_TextChanged(object sender, EventArgs e)
        {
            try
            {
                string OCODE      = ((SessionUser)Session["SessionUser"]).OCode;
                string employeeID = Convert.ToString(txtEid_LV.Text);

                Emp_IMG_TRNS.ImageUrl = "EmployeeIMG.ashx?eId=" + employeeID + "&oCode=" + OCODE;

                var result = objEmp_BLL.GetEmployeeIDDetails(employeeID, OCODE).ToList();
                if (result.Count > 0)
                {
                    var objNewEmp = result.First();
                    txtEid_LV.Text       = Convert.ToString(objNewEmp.EID);
                    lblHiddenId.Text     = Convert.ToString(objNewEmp.EMP_ID);
                    txtEmpName_TRNS.Text = Convert.ToString(objNewEmp.EMP_FIRSTNAME + " " + objNewEmp.EMP_LASTNAME);
                    txtDepartment.Text   = objNewEmp.DPT_NAME;
                    txtDesignation.Text  = objNewEmp.DEG_NAME;
                    //txtServiceDetails.Text = objNewEmp.CONTRACT;
                    //BindGridEmployee(Convert.ToInt64(lblHiddenId.Text));

                    BindGridEmployee(employeeID);
                    var resultCt = objEmp_BLL.GetEmployeeContract(employeeID, OCODE).ToList();
                    if (resultCt.Count > 0)
                    {
                        var objNewEmpCt = resultCt.First();
                        txtServiceDetails.Text = objNewEmpCt.CONTRACT;
                    }
                    else
                    {
                        //NO RECORDS FOUND.
                    }
                }
            }
            catch (Exception ex)
            {
                ScriptManager.RegisterStartupScript(this.Page, Page.GetType(), "text", "func('" + ex.Message + "')", true);
            }
        }