N
Neil Chambers
I have an object which references another object (courtesy of LINQ) and I
would like to use a property from the referenced object in a grid view.
However, my feeble attempt at doing this does not work
//field is retrived as expected
<asp:BoundField DataField="name" HeaderText="name" />
//GridView complains that property cannot be found
<asp:BoundField DataField="address.street" HeaderText="street" />
Am I barking up the wrong tree?
Cheers,
n
would like to use a property from the referenced object in a grid view.
However, my feeble attempt at doing this does not work
//field is retrived as expected
<asp:BoundField DataField="name" HeaderText="name" />
//GridView complains that property cannot be found
<asp:BoundField DataField="address.street" HeaderText="street" />
Am I barking up the wrong tree?
Cheers,
n