binding to Obj.Property.Property

Hi,

I fill a List with objects and bind to a DataGridView using DataSource.
But I can’t bind my column to something like this:

class Address {
string Street ...
}

class Person {
Address Address...
}

I would like to bind to Person.Address.Street
I try putting Address.Street at the column DataPropertyName but didding work




Answer this question

binding to Obj.Property.Property

  • binding to Obj.Property.Property