469,568 Members | 1,464 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,568 developers. It's quick & easy.

Nested Datagrid Inside a Repeater

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, and am able
to display all the values from the child table.

The code I use inside the datagrid is
<asp:DataGrid id="Datagrid1" runat="server" datasource='<%#
Container.DataItem.Row.GetChildRows("EntitiesDirec tors") %>'
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.

Dec 4 '05 #1
0 944

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tommy | last post: by
1 post views Thread by Phil Townsend | last post: by
reply views Thread by Maziar Aflatoun | last post: by
reply views Thread by Ed Allan | last post: by
2 posts views Thread by Stephen Miller | last post: by
7 posts views Thread by Scott Schluer | last post: by
2 posts views Thread by James Moore | last post: by
1 post views Thread by Maziar Aflatoun | last post: by
3 posts views Thread by Maziar Aflatoun | last post: by
2 posts views Thread by mark | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.