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); }
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(); }