CodePudding user response:
Tree structure itself is not in it, you can use the third party controls, TMSCodePudding user response:
Want to use the treeview, circulation data set in the treeview item, or use third party dbtreeviewCodePudding user response:
This layer, through the establishment of tree cycle,CodePudding user response:
SQL:SELECT 'parent node 1', '
Union all
SELECT "', '1.1 child nodes'
Union all
SELECT "', '1.2 child nodes'
Union all
SELECT the 'parent'
2Union all
SELECT "', '2.1 child nodes'
Union all
SELECT "', '1.1 child nodes'
CodePudding user response:
This is more complex, need to design the structure of the data table, then design a few process: Load, save, Add, Insert, an InsertChild, delete, etc.