/// <summary>
        /// Handles ItemDataBound event of rptrJobPostLookinFor control
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        protected void rptrJobPostLookinFor_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            CurrentDesiredJobBAL currentDesiredJobBAL = new CurrentDesiredJobBAL();
            DropDownList ddlIndustry123 = (DropDownList)e.Item.FindControl("ddlIndustry123");
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                //DataSet ds1 = new DataSet();

                //ds1 = currentDesiredJobBAL.ViewCurrentJobDetailsBAL(candidateId);
                //bindState();

                DataSet ds = new DataSet();
                ds = currentDesiredJobBAL.GetIndustry();
                if (ds != null)
                {
                    ddlIndustry123.DataSource = ds;
                    ddlIndustry123.DataTextField = "IndustryName";
                    ddlIndustry123.DataValueField = "IndustryId";
                    ddlIndustry123.DataBind();
                    ddlIndustry123.SelectedValue = Convert.ToString(DataBinder.Eval(e.Item.DataItem, "Industry"));
                }
            }
            DropDownList ddlDepartment123 = (DropDownList)e.Item.FindControl("ddlDepartment123");
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                DataSet ds1 = new DataSet();
                ds1 = currentDesiredJobBAL.GetDepartment();
                if (ds1 != null)
                {
                    ddlDepartment123.DataSource = ds1;
                    ddlDepartment123.DataTextField = "DepartmentName";
                    ddlDepartment123.DataValueField = "DepartmentId";
                    ddlDepartment123.DataBind();
                    ddlDepartment123.SelectedValue = Convert.ToString(DataBinder.Eval(e.Item.DataItem, "Department"));
                }
            }
            DropDownList ddlFunctionalRole = (DropDownList)e.Item.FindControl("ddlFunctionalRole");
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                DataSet ds2 = new DataSet();

                ds2 = currentDesiredJobBAL.GetFunctionalArea();
                if (ds2 != null)
                {
                    ddlFunctionalRole.DataSource = ds2;
                    ddlFunctionalRole.DataTextField = "FunctionalArea";
                    ddlFunctionalRole.DataValueField = "FunctionalAreaId";
                    ddlFunctionalRole.DataBind();
                    ddlFunctionalRole.SelectedValue = Convert.ToString(DataBinder.Eval(e.Item.DataItem, "FunctionalRole"));
                }
            }
        }
 /// <summary>
 /// Method to Bind years to ddlFromYear & ddlTillYear control
 /// </summary>
 //private void BindYear()
 //{
 //    try
 //    {
 //        // Bind Year List
 //        List<string> yearList = CommonUtil.Utility.GetYears();
 //        ddlFromYear.DataSource = yearList;
 //        ddlFromYear.DataBind();
 //        ddlTillYear.DataSource = yearList;
 //        ddlTillYear.DataBind();
 //    }
 //    catch (Exception)
 //    {
 //        // throw;
 //    }
 //}
 /// <summary>
 /// Method to Bind months to ddlFromMonth & ddlTillMonth control
 /// </summary>
 //private void BindMonth()
 //{
 //    try
 //    {
 //        List<string> monthList = CommonUtil.Utility.GetMonths();
 //        ddlFromMonth.DataSource = monthList;
 //        ddlTillMonth.DataSource = monthList;
 //        ddlFromMonth.DataBind();
 //        ddlTillMonth.DataBind();
 //    }
 //    catch (Exception)
 //    {
 //        // throw;
 //    }
 //}
 /// <summary>
 /// Method to Bind FunctionalArea to ddlFunctionalRole control
 /// </summary>
 private void BindFunctionalArea()
 {
     CurrentDesiredJobBAL currentjobBAL = new CurrentDesiredJobBAL();
     DataSet ds = new DataSet();
     try
     {
         ds = currentjobBAL.GetFunctionalArea();
         if (ds != null)
         {
             ddlFunctionalRole.DataSource = ds;
             ddlFunctionalArea.DataSource = ds;
             ddlFunctionalRole.DataTextField = "FunctionalArea";
             ddlFunctionalRole.DataValueField = "FunctionalAreaId";
             ddlFunctionalArea.DataValueField = "FunctionalAreaId";
             ddlFunctionalArea.DataTextField = "FunctionalArea";
             ddlFunctionalArea.DataBind();
             ddlFunctionalRole.DataBind();
             ddlFunctionalRole.Items.Insert(0, new ListItem("--Select--", "0"));
             ddlFunctionalArea.Items.Insert(0, new ListItem("--Select--", "0"));
         }
     }
     catch (Exception)
     {
         // throw;
     }
 }