E
Ed Allan
I have extended the example at
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;306154 to build a webform page with 3 layers of nested
Repeaters on (ie. parent, child and grandchild).
I added a third DataTable to the DataSet, and created a
second Relation between the second and third DataTables.
On the aspx page I copied the child Repeater to create the
grandchild, referencing the second Relation.
It is throwing an InvalidCastException when executing the
datasource of the innermost Repeater - <%# ((DataRowView)
Container.DataItem).Row.GetChildRows
("childEvents_grandchildEvents") %> - why does it not like
the cast to DataRowView?
Many thanks in advance.
http://support.microsoft.com/default.aspx?scid=kb;EN-
US;306154 to build a webform page with 3 layers of nested
Repeaters on (ie. parent, child and grandchild).
I added a third DataTable to the DataSet, and created a
second Relation between the second and third DataTables.
On the aspx page I copied the child Repeater to create the
grandchild, referencing the second Relation.
It is throwing an InvalidCastException when executing the
datasource of the innermost Repeater - <%# ((DataRowView)
Container.DataItem).Row.GetChildRows
("childEvents_grandchildEvents") %> - why does it not like
the cast to DataRowView?
Many thanks in advance.