Code for recursively generating a tree menu with the same effect as Windows Resource Manager (attached)

Source: Internet
Author: User
Appendix: Data structure and test data
Database description
ID: Node ID
NodeName: node name
BrotherNode: sibling node, ID of the next sibling node of the current node
SonNode: subnode, ID of the first subnode of the current node
Test data
ID NodeName ParentNode SonNode BrotherNode
01 management document 00 0101 02
02 development document 00 0201 03
03 product document 00 00 00
0101 regulations 01 00 0102
0102 plan 01 00 0103
0103 conclusion 01 00 00
0201 Reference Document 02 00 0202
0202 development progress 02 00 0203
0203 requirement analysis 02 00 0204
0204 overall design 02 00 0205
0205 overview design 02 00 0206
0206 detailed design 02 020601 0207
0207 encoded text block 02 00 0208
0208 test document Block 02 00 00
020601 detailed database design 00 020602 0206
020602 GIS detailed design 00 020603 0206
020603 interface detailed design 00 020604 0206
020604 UI Detailed design 00 00 0206

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.