コード例 #1
0
        protected void BindData()
        {
            DataProcess.DepartmentBind(department);
            List <Kaoguan> ls = FTInterviewBLL.KaoguanManage.GetAllKaoguanByZp(zpid);

            MsgGridview.DataSource = ls;
            MsgGridview.DataBind();
        }
コード例 #2
0
        protected void BindData()
        {
            DataProcess.DepartmentBind(department);

            List <Kaoguan> ls = FTInterviewBLL.KaoguanManage.GetAll();

            MsgGridview.DataSource           = ls;
            AspNetPagerAskAnswer.RecordCount = ls.Count;
            MsgGridview.DataBind();
        }
コード例 #3
0
        //search
        protected void StuffSearch_Click(object sender, EventArgs e)
        {
            int    bmid   = Convert.ToInt32(department.SelectedValue);
            string kgname = wName.Value;

            List <Kaoguan> ls = FTInterviewBLL.KaoguanManage.GetKaoguanByParameters(bmid, kgname);

            MsgGridview.DataSource           = ls;
            AspNetPagerAskAnswer.RecordCount = ls.Count;
            MsgGridview.DataBind();
        }
コード例 #4
0
        protected void MsgSearch_Click(object sender, EventArgs e)
        {
            int bmid = Convert.ToInt32(department.SelectedValue);

            if (bmid != -1)
            {
                List <Kaoguan> ls = FTInterviewBLL.KaoguanManage.GetKaoguanByParameters(bmid);

                MsgGridview.DataSource = ls;
                MsgGridview.DataBind();
            }
        }
コード例 #5
0
        protected void BindData(int _id = -1)
        {
            DataProcess.DepartmentBind(department);
            List <KaoguanZhaopin> ls    = new List <KaoguanZhaopin>();
            List <Yingpinzhe>     ypzls = new List <Yingpinzhe>();

            int zpfbid = -1;

            if (id != -1)
            {
                Zhaopin zp = FTInterviewBLL.ZhaopinManage.GetZhaopinById(id);

                ZhaopinFb zf = FTInterviewBLL.ZhaopinFbManage.GetZhaopinFbByid(zp.ZpfbId);

                zpfbid = zp.ZpfbId;

                MsName.Value    = zp.Title;
                MsTime.Value    = zp.InterviewTime;
                HegeScore.Value = zp.HegeLine + "";

                /////////////////////msg
                ls = FTInterviewBLL.KaoguanZhaopinManage.GetKgZPbyzpId(id);
                MsgGridview.DataSource = ls;
                MsgGridview.DataBind();
                /////////////////////ypz
                ypzls = FTInterviewBLL.YingpinzheZhaopinManage.GetAllYingpinzheInzhaopin(id);
                YpzGridview.DataSource = ypzls;
                YpzGridview.DataBind();
            }
            else
            {
                Step2Part.Visible = false;
            }

            MsgGridview.DataSource = ls;
            MsgGridview.DataBind();
            YpzGridview.DataSource = ypzls;
            YpzGridview.DataBind();

            if (zpfbid != -1)
            {
                ZhaopinFb zf = FTInterviewBLL.ZhaopinFbManage.GetZhaopinFbByid(zpfbid);
                department.SelectedValue = zf.FbBmId + "";
                DataProcess.PositionBind(Position, zf.FbBmId);
                Position.SelectedValue = zf.ZpPosName;
            }
            department.Enabled = false;
            Position.Enabled   = false;
        }