//search protected void StuffSearch_Click(object sender, EventArgs e) { string ypzname = YpzName.Value; int depid = Convert.ToInt32(department.SelectedValue); List <Yingpinzhe> ls = FTInterviewBLL.YingpinzheManage.GetAllYingpinzheByZpAndParameters(zpid, true, ypzname, depid); YpzGridview.DataSource = ls; YpzGridview.DataBind(); }
protected void BindData() { DataProcess.DepartmentBind(department); List <Yingpinzhe> ls = FTInterviewBLL.YingpinzheManage.GetAllYingpinzheByZp(zpid); YpzGridview.DataSource = ls; YpzGridview.DataBind(); }
//search protected void StuffSearch_Click(object sender, EventArgs e) { string ypzname = YpzName.Value; int bmid = Convert.ToInt32(department.SelectedValue); //List<Yingpinzhe> ls = FTInterviewBLL.YingpinzheManage.GetYingpinzheByParameters(ypzname, bmid); List <Yingpinzhe> ls = FTInterviewBLL.YingpinzheManage.GetYingpinzheInZpItemByParameters(zpitmid, ypzname, bmid); YpzGridview.DataSource = ls; AspNetPagerAskAnswer.RecordCount = ls.Count; YpzGridview.DataBind(); }
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; }
protected void BindData() { DataProcess.DepartmentBind(department); List <Yingpinzhe> ls = new List <Yingpinzhe>(); if (zpitmid != -1) { ZhaopinItem zim = FTInterviewBLL.ZhaopinItemManage.GetZhaopinItemById(zpitmid); ItemTitle.Text = zim.Title; //ls = FTInterviewBLL.YingpinzheManage.GetAllYingpinzhe(); ls = FTInterviewBLL.YingpinzheManage.GetAllYingpinzheInZpItem(zpitmid); } YpzGridview.DataSource = ls; AspNetPagerAskAnswer.RecordCount = ls.Count; YpzGridview.DataBind(); }