CodePudding user response:
Be involved in the text file format, top stick!CodePudding user response:
1 first to deal with a text file2 have the format, content, just take out the corresponding field to analyze the relationship between the superior and the subordinate, done with
3 set up a table field: radio station address code above code below the parse of text content to list
4 spanning tree traversal table content
Great reference: http://topic.csdn.net/u/20100524/16/dbe73d36-1df5-4adc-8223-b45eda40c8f0.html
CodePudding user response:
Treeview treeviewitem has a any dataIt can be used to do data index,
Data sources can be: datastore or array,
Is the datastore ID=GetRowIdFromRow can be it
CodePudding user response:
Tree contact data value type is: any, this is a good thing, you can create a structure, such as:Global type s_diantai from structure
String itemid
String itemname
.
End type
Then, you need some information retrieval in the text, or the entire record can be integrated into your tree,