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
1800
Binding nested list of objects
posted

Hi,

I have a nested list of objects. I need the data to be displayed in hierarchial manner.

I have a list of objects, lets say list A, which has IList(of  B) (Generic List) as one of its properties and IList(of B) contains IList (of C). What should i do to display the data in hierarchial way ?

Couple of tradeoffs that i have is, IList(of B) and IList(of C) might not have the same columns and i'm trying to use BindingList(of A). Still i get only parent list and not the child ones'

Any help is appreciated!

Thanks.,