Hello my fellow experts, I use c# and windows forms. I have array of two or more strings. How to add them into treeview(first is root, second is child of root, third is subchild of child and so on..)
Example:
string [] names = new string[] {"Root", "Child", "SubChild"} ;
should i use some recursive method or ...?
Root
|---------Child
|------------SubChild...
User Profile
Collapse
-
TreeView populated from string array?
-
TreeView linked with tables with relation
Sorry for my English. I use C#. I have two tables with relation(catego ry an product) i want to load them in treeview. I load category table - parent nodes but i want to load and product table - child nodes based on relation between tables. thanks for your help.
No activity results to display
Show More