H
hooterbite
In the code behnd I build the dataset including the relations, which is
working fine. I know it is working fine becuase I tested it by looping
through the datatable then looping through the child table.
The code I use inside the datagrid is
<aspataGrid id="Datagrid1" runat="server" datasource='<%#
Container.DataItem.Row.GetChildRows("EntitiesDirectors") %>'
where EntitiesDirectors is the name of the datarelation.
Is this not the right syntax for a datagrid?
When I bind I get the following message
System.Web.HttpException: A field or property with the name 'FullName'
was not found on
the selected datasource
where FullName is the first field in the child table.
working fine. I know it is working fine becuase I tested it by looping
through the datatable then looping through the child table.
The code I use inside the datagrid is
<aspataGrid id="Datagrid1" runat="server" datasource='<%#
Container.DataItem.Row.GetChildRows("EntitiesDirectors") %>'
where EntitiesDirectors is the name of the datarelation.
Is this not the right syntax for a datagrid?
When I bind I get the following message
System.Web.HttpException: A field or property with the name 'FullName'
was not found on
the selected datasource
where FullName is the first field in the child table.