public ActionResult Paper_QuestionManage() { if (!B_ARoleAuth.AuthCheckEx(ZLEnum.Auth.exam, "paper")) { return(null); } int Pid = DataConverter.CLng(Request.QueryString["pid"]); int QType = DataConverter.CLng(Request.QueryString["qtype"]); M_Exam_Sys_Papers paperMod = paperBll.GetSelect(Pid); PageSetting setting = questBll.SelByIDS_SPage(CPage, PSize, paperMod.QIDS, QType); if (setting == null) { setting = new PageSetting() { itemCount = 0 }; } if (Request.IsAjaxRequest()) { return(PartialView("Paper_QuestionManage_List", setting)); } ViewBag.ptitle = StringHelper.SubStr(paperMod.p_name, 10); ViewBag.selids = "," + paperMod.QIDS + ","; return(View(setting)); }