pan klocek
New Member
Basically I have a List within a List that i want to bind to a dataGridView. It's like this\[code\]public class Town { public List<Shop> Shops { get; set; }}public class Shop { public List<Car> Cars {get; set; }}\[/code\]and the class Cars with some properties and overriding the ToString method. Now, I want to display on the grid rows the Shops with the Cars's properties in the columns. I also serialize and deserialize the Town object into an XML. I found a way to modify the DataSource object so it can store user's input, but I cannot display the data from a loaded XML.