VB.net/ASP.net building Organizational Hierarchy in TreeView with Department selection
I store the hierarchical organizational data for a company in a table shown in the image below.
I use a recursive method to add the nodes based on the "node address" column.
I need to add in functionality to exclude certain departments. This will interfere with my code in general and make my build disjointed. Can anyone suggest a better way to do this. Thanks