private string Get_JobCategoryID(string strJobCategoryGUID)
        {
            zlzw.BLL.JobCategoryListBLL jobCategoryListBLL = new zlzw.BLL.JobCategoryListBLL();
            DataTable dt = jobCategoryListBLL.GetList("JobCategoryGUID='" + strJobCategoryGUID + "'").Tables[0];

            return(dt.Rows[0]["JobCategoryID"].ToString());
        }
        private void JobCategoryList_BindGrid()
        {
            zlzw.BLL.JobCategoryListBLL jobCategoryListBLL = new zlzw.BLL.JobCategoryListBLL();
            DataTable dt = jobCategoryListBLL.GetList(grid1.PageSize, grid1.PageIndex + 1, "*", "PublishDate", 0, "desc", "IsEnable=1").Tables[0];

            grid1.DataSource = dt;
            grid1.DataBind();
        }
        private void Load_JobCategoryList()
        {
            zlzw.BLL.JobCategoryListBLL jobCategoryListBLL = new zlzw.BLL.JobCategoryListBLL();
            DataTable dt = jobCategoryListBLL.GetList("IsEnable=1").Tables[0];

            drpJobCategory.DataTextField  = "JobCategoryName";
            drpJobCategory.DataValueField = "JobCategoryGUID";

            drpJobCategory.DataSource = dt;
            drpJobCategory.DataBind();
        }
        private string Get_JobCategoryName(string strJobCategoryGUID)
        {
            zlzw.BLL.JobCategoryListBLL jobCategoryListBLL = new zlzw.BLL.JobCategoryListBLL();
            DataTable dt = jobCategoryListBLL.GetList("JobCategoryGUID='" + strJobCategoryGUID + "'").Tables[0];

            if (dt.Rows.Count > 0)
            {
                return(dt.Rows[0]["JobCategoryName"].ToString());
            }
            else
            {
                return("未知");
            }
        }
        /// <summary>
        /// 获取总页数
        /// </summary>
        /// <returns></returns>
        private int Get_JobCategoryListTotalCount()
        {
            zlzw.BLL.JobCategoryListBLL jobCategoryListBLL = new zlzw.BLL.JobCategoryListBLL();
            DataTable dt = jobCategoryListBLL.GetList("IsEnable=1").Tables[0];

            if (dt.Rows.Count > 0)
            {
                return(dt.Rows.Count);
            }
            else
            {
                return(0);
            }
        }