Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Populate WebDataTree whith a hierarchy of datasource unknown
posted

Hello,

I am looking for a way to feed my WebDatatree with a data source or build directly in code behind (node ​​by node)

The problem is that I do not know in advance the number of child node.
I used the default component by Microsoft and built each node from a single SQL query that me went back every node and hierarchy.

Would you have an example to come to this?

thank you for your help.


An example of data that I want displayed:

 

·          Node1

·          Node2

o    Node2.1

o    Node2.2

·          Node3

o    Node3.1

·          Node4

o    Node4.1

§   Node4.1.1

§   Node4.1.2

o    Node4.2

·          Node5

·          Node6

o    Node6.1

§   Node6.1.1

·          Node6.1.1.1

·          Etc…