This question is locked. New answers and comments are not allowed.
Hi
i am using the TreeView control for displaying reportee structure. I am using my class object to get the data.
i am using the TreeView control for displaying reportee structure. I am using my class object to get the data.
how to bind this class object to TreeView control? my tree view should look like this:
. Employee 1
......Employee 2
............Employee 21
............Employee 22
......Employee 3
............Employee 31
............Employee 32
......Employee 4
please help me to resolve this.
class structure:
| public class Reportee |
| { |
| public string ID; |
| public string Name; |
| public List<Reportee> SubReportees; |
| } |