private void BindExamCategoryTree()
        {
            ExamCategoryBLL examCategoryBLL = new ExamCategoryBLL();

            IList <RailExam.Model.ExamCategory> examCategoryList = examCategoryBLL.GetExamCategories();

            Pub.BuildComponentArtTreeView(tvExamCategory, (IList)examCategoryList, "ExamCategoryId",
                                          "ParentId", "CategoryName", "CategoryName", "IdPath", null, null, null);
        }
示例#2
0
        private void BindExamCategoryTree()
        {
            ExamCategoryBLL examCategoryBLL = new ExamCategoryBLL();

            //IList<RailExam.Model.ExamCategory> examCategoryList = examCategoryBLL.GetExamCategories(
            //                                    0, 0, "", 0, 0, "", "", "", false, 0, 200, "ExamCategoryId ASC");

            IList <RailExam.Model.ExamCategory> examCategoryList = examCategoryBLL.GetExamCategories();

            Pub.BuildComponentArtTreeView(tvExamCategory, (IList)examCategoryList, "ExamCategoryId",
                                          "ParentId", "CategoryName", "CategoryName", "ExamCategoryId", null, null, null);

            //tvExamCategory.ExpandAll();
        }