how to generate an N level tree using datatable?

Posted by Kishore Kumar on Stack Overflow See other posts from Stack Overflow or by Kishore Kumar
Published on 2010-06-16T07:39:58Z Indexed on 2010/06/16 7:42 UTC
Read the original article Hit count: 176

Filed under:

I have a DataTable with column ID, Name, RootID. The tree stucture is implmented using the RootId field. If the RootId is null it is considered as Root Node. How to create an Nlevel tree using the DataTale.

eg. 1 Manager null, 2 Project Lead 1, 3 Test Lead 1, 4 Sr Soft Eng 2, 5 Soft eng 2, 6 HR Manager Null, 7 HR exec 6, ......

© Stack Overflow or respective owner

Related posts about wpf