I'm having trouble binding a custom object
All the examples seem to be database/dataset based with separate collections for each dimension.
How would I get a simple hierarchical grid to work with something like below, if I wanted to bind to an object of type List<CarMaker>
public class CarMaker
{
public string CompanyName { get; set; }
public List<CarModel> Models { get; set; }
}
public class CarModel
{
public string ModelName { get; set; }
}
All the examples seem to be database/dataset based with separate collections for each dimension.
How would I get a simple hierarchical grid to work with something like below, if I wanted to bind to an object of type List<CarMaker>
public class CarMaker
{
public string CompanyName { get; set; }
public List<CarModel> Models { get; set; }
}
public class CarModel
{
public string ModelName { get; set; }
}