Click here to Skip to main content
14,545,215 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have 2 tables in my SQL

First_Departments with coloumns dpt_ID, dpt_parent_ID, dpt_Name, dpt_Description
Second_Employees with coloumns emp_ID, dpt_ID, emp_FirstName, emp_LastName, emp_Patronomy, emp_Birtday

Now I want to fill this tables in my treeview recursively

As result I want to get the following look

_Marketing
------ +WholeSale
------ _Reatil
-----------_Employees
---------------John/..........
---------------Jack/..........

What I have tried:

TO fill treeview in c# sql table recursively
Posted
Updated 21-May-20 22:22pm
v2
Comments
Maciej Los 22-May-20 3:57am
   
And what line of your code is causing problems?
Member 14734812 22-May-20 4:07am
   
I dont mind how to start?
Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Comments
Maciej Los 22-May-20 4:22am
   
:)
Rate this:
Please Sign up or sign in to vote.

Solution 2

   
Comments
Richard MacCutchan 22-May-20 4:39am
   
:))

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100