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
250
Hierarchical Data Object
posted

In an attempt to set up a grid using hierarchical data model without a Dataset, I am at a loss how to define the data model.

 

I have 2 different data types

public class data1 { public string field1 {get; set;}}

public class data2 { public string field 2{get; set;}}

I would like the grid to diplay in band 1 as data1 and in band 2 as data2.  I have used BindingList <T> as all the same type and the grid has no problem interpreting the data objects.

Joby