DataGrid asp:BoundColumn ArrayList Object Traversal
Posted on 2005-05-04
I have an array list that has a list of objects in it all works well except that this object also has a property that is of a type that I would like to traverse show a few of its properties. How can I do this?
ArrayList has a collection of UserTransactions
UserTransactions has properties like:
Person class has;
And when I bind the column to
<asp:BoundColumn DataField="Person.FirstName" HeaderText="First Name" />
I get the following error:
Error: A field or property with the name 'Person.FirstName' was not found on the selected datasource.
I'd rather not create methods that delegate and get the property for me if I doon't have to...