/// <summary> /// 绑定Grid数据 /// </summary> private void BindTreeList() { treeList1.Nodes.Clear(); DataTable dt = this.GetTreeListTable(); ProcessTreeList.BindTreeList(dt, treeList1, "ID", "ParentID", 1, true); }
/// <summary> /// 绑定TreeList /// </summary> private void BindTreeList() { //treeList1.Nodes.Clear(); DataTable dt = GetTreeListTable(); ProcessTreeList.BindTreeList(dt, treeList1, "MenuID", "ParentID", 0, false); }
/// <summary> /// 绑定Grid数据 /// </summary> private void BindTreeList() { treeList1.Nodes.Clear(); StructureRule rule = new StructureRule(); //DataTable dt =rule.RShow(" ORDER BY ParentID,Code", ProcessTreeList.GetQueryField(treeList1)); DataTable dt = SysUtils.Fill("EXEC USP1_Data_Stucture_Get"); ProcessTreeList.BindTreeList(dt, treeList1, "ID", "ParentID", 7, true); }
/// <summary> /// 绑定TreeList /// </summary> private void BindTreeListAll() { DataTable dt = GetTreeListTable(); ProcessTreeList.BindTreeList(dt, treeList2, "MenuID", "ParentID", 0, true); }