E
Ed
Hi,
I am trying to nest multiple datagrids within each other.
for example Customer -> Orders -> Order Lines.
I have filled a dataset, created the relationships, and
this all works fine, when I iterate through the dataset
datarow by datarow and get the child rows this works fine.
The problem I am having is that when binding the nested
datagrid to the child rows of the parent datagrid I am
getting the following displayed in the nested datagrid:
RowError HasErrors
False
False
The strange thing about this is that the number of errors
displayed matches the number of child rows for that
parentID.
I tried many ways to bind the data, currently I am using
the following in the DataGrid1.ItemDataBound routine:
tst = dsLong.Tables(0).Rows
(e.Item.DataSetIndex).GetChildRows("2Way2KWLinks")
dg.datasource = tst
dg.databind
Any help would be much appreciated
tia
I am trying to nest multiple datagrids within each other.
for example Customer -> Orders -> Order Lines.
I have filled a dataset, created the relationships, and
this all works fine, when I iterate through the dataset
datarow by datarow and get the child rows this works fine.
The problem I am having is that when binding the nested
datagrid to the child rows of the parent datagrid I am
getting the following displayed in the nested datagrid:
RowError HasErrors
False
False
The strange thing about this is that the number of errors
displayed matches the number of child rows for that
parentID.
I tried many ways to bind the data, currently I am using
the following in the DataGrid1.ItemDataBound routine:
tst = dsLong.Tables(0).Rows
(e.Item.DataSetIndex).GetChildRows("2Way2KWLinks")
dg.datasource = tst
dg.databind
Any help would be much appreciated
tia