public VM_QuestManage(HttpRequestBase Request) { this.mu = tubll.GetLogin(); M_Temp tempMod = tempBll.SelModelByUid(mu.UserID, 10); if (tempMod == null) { tempMod = new M_Temp(); } gradeDT = B_GradeOption.GetGradeList(6, 0); verDT = verBll.Sel(); QListCount = questBll.GetCountByIDS(tempMod.Str1); //function.Script(this, "RenderQList(" + list + ");"); QuestType_Lit = GetTreeStr(FillQuest(nodeBll.SelectQuesClasses()), 0, "quest"); }
//填充分类列表 private void GetClassList() { bqc = new B_Exam_Class(); List <M_Exam_Class> mqc = bqc.SelectQuesClasses(); if (mqc != null && mqc.Count > 0) { ddlC_ClassId.Items.Clear(); foreach (M_Exam_Class item in mqc) { ListItem li = new ListItem(); li.Text = item.C_ClassName; li.Value = item.C_id.ToString(); ddlC_ClassId.Items.Add(li); } } }