I very new in C# and i started building an app for my company.
Overall it haves a lot of functions one of them it showing treeview populated from a database. Im populating the tree at every mouseclick on the treeNode. The nodes are references in DB to some physical files on a fileserver. The problem comes at reverse, building the tree based on the files.
At reverse i need to build the tree based on the query result.
It seems that it should be like this: Get the root node expand > get and add child's expand > from the child's select the one i need expand > add child's > from here select the one that i need .... and so on . I dont know how to do this from code without mouse events.
0 · ·