views:

11

answers:

0

Hi,

I have a situation where I'd like to set a BoundField.DataField property to a nested table.

The page is loading an nHibernate object (a HotSpot) which as a sub-object (a Link). The datasource for the grid in this case is the HotSpot object and I can bind to its properties without problem. However I need also to access some of the properties in the Link object as well, and I can't work out how to do it.

Trying DataField="Link.AltText" or whatever, doesn't seem to work.

Does anyone know a workaround for this?

Cheers, Matt