I have datagridview that needs to be loaded into a treeview control, I am having trouble getting it to work.
The datagridview called PROJWBS has a field called wbs_id, seq_num, wbs_name, parent_wbs_id
This is obvious, parent_wbs_id is related to wbs_id and can be up to 9 levels of parent child relationship. Once you have more than one child within a node the child or data under that parent node must be sorted by the field seq_num to be in the correct order.
- When adding the nodes the [url removed, login to view] must use the wbs_id, the [url removed, login to view] must use wbs_name.
- A combo box must have the levels of the tree nodes, if I select level 2 from the combo box the treeview must close all levels greater than the one I selected and only display the level - like a filter.
- Each level must have a different font color.
Once this small project is done, I will require further development on it.
My code does not work properly, I need someone who know how to populate the treeview.
The datagridview data I pull from excel the file is attached, my screen print of what i want is also attached.
Décerné à :
Hey fellow South African Let me have a look at this for you. I've got many years .Net experience including C#, VB.Net So contact me via chat and lets discuss Maurice