S
Stuart Whiteford
Guys,
Still fairly new to ASP.NET. I want to bind a collection of (what I
think are) fairly complex Business Objects to a DataGrid.
The properties of the Object (called Company) look something like this
(I have a separate class for Address):
Company.ID
Company.Title
Company.Address.Street
Company.Address.Town
Company.Address.PostCode
Company.TelNo
If I bind a collection of Companies to the DataGrid I can access the
properties directly associated with Company (ID, Title, TelNo) but I
can't figure out how to get the properties of the Company's Address.
Any thoughts?
TIA,
Stuart.
Still fairly new to ASP.NET. I want to bind a collection of (what I
think are) fairly complex Business Objects to a DataGrid.
The properties of the Object (called Company) look something like this
(I have a separate class for Address):
Company.ID
Company.Title
Company.Address.Street
Company.Address.Town
Company.Address.PostCode
Company.TelNo
If I bind a collection of Companies to the DataGrid I can access the
properties directly associated with Company (ID, Title, TelNo) but I
can't figure out how to get the properties of the Company's Address.
Any thoughts?
TIA,
Stuart.