This is probably pretty simple for everyone, but I can't quite understand the process. I have never used a treeview before and am trying to populate one with information that I am pulling from a SQL Server. I pulled the information that I needed into a dataset. In the table, I have information like this:
EmpPK, MgrEmpFK
Each employee has a Primary Key. The same table holds the Primary Key of their manager, that is the obvious relation. It seems like it would be simple to build the hierarchy because it is clearly in the tables, but I don't understand how. Anybody have any ideas?
EmpPK, MgrEmpFK
Each employee has a Primary Key. The same table holds the Primary Key of their manager, that is the obvious relation. It seems like it would be simple to build the hierarchy because it is clearly in the tables, but I don't understand how. Anybody have any ideas?