Hi Friends,Is it possible to bind two BindingList<T> objects to UltraGrid? If yes, then how should I go about doing that?I created an array of two BindingList objects and tried bindingthe array to the grid, but it fails.Regards,Sid.
You need one of these lists to be a "child" list of the other. This will display them hierarchically, since WinGrid can only have one "root" band. For example, if you have a BindingList<List1> and a BindingList<List2>, then either your List1 class must have an instance of BindingList<List2> or vice-versa.
If you want to display the two lists side-by-side, in a non-hierarchical fashion, use two WinGrid controls - one bound to each.
Hi Vince,Thanks for the reply. I figured out way to show it in one grid.I created a third list and added the elements of the first two lists to it. Then I binded the new list to the grid. It works fine.
Regards,Sid.