We are using data binding in our application, and are having trouble
finding out how to bind a hierarchy of lists of business objects.
What we have is this hierarchy:
List<Orders>
|
(Order)
|- List<Groups>
|
(Group)
|- List<Members>
We want to create a form where each of these lists is displayed in a
grid, and data is updated depending on what the user selects. The grids
cannot be nested. Can this be done?
Havard Stranden - 19 Jan 2007 11:28 GMT
> We are using data binding in our application, and are having trouble
> finding out how to bind a hierarchy of lists of business objects.
[quoted text clipped - 12 lines]
> grid, and data is updated depending on what the user selects. The grids
> cannot be nested. Can this be done?
We found the solution: Use the master/detail pattern with nested
BindingSources for the grid hierarchy, and everything works. :)