E
erniej
as per instructions in the walkthrough, I have managed to
create a master/detail relationship between two datagrids.
However I have a requirement to apply this to three
datagrids and the third datagrid does not seem to reflect
the selected row on the second datagrid using this method.
The relevant lines of code are as follows.
' binding on master table
dgTables.SetDataBinding(CurrentViewDS,"ALL_TABLES")
' binding on first detail table using the relation
dgIndexes.SetDataBinding
(CurrentViewDS, "ALL_TABLES.ALL_TABLESINDEXES")
' up to here all works fine - the following however does
not seem to bind the third dataset
dgIndexColumns.SetDataBinding
(CurrentViewDS, "INDEXES.INDEXESINDEX_COLUMNS")
The three datatables are called ALL_TABLES, INDEXES and
INDEX_COLUMNS and the two relations are called
ALL_TABLESINDEXES and INDEXESINDEX_COLUMNS
Any ideas or alternative ways to accomplish this would be
much appreciated.
Cheers
create a master/detail relationship between two datagrids.
However I have a requirement to apply this to three
datagrids and the third datagrid does not seem to reflect
the selected row on the second datagrid using this method.
The relevant lines of code are as follows.
' binding on master table
dgTables.SetDataBinding(CurrentViewDS,"ALL_TABLES")
' binding on first detail table using the relation
dgIndexes.SetDataBinding
(CurrentViewDS, "ALL_TABLES.ALL_TABLESINDEXES")
' up to here all works fine - the following however does
not seem to bind the third dataset
dgIndexColumns.SetDataBinding
(CurrentViewDS, "INDEXES.INDEXESINDEX_COLUMNS")
The three datatables are called ALL_TABLES, INDEXES and
INDEX_COLUMNS and the two relations are called
ALL_TABLESINDEXES and INDEXESINDEX_COLUMNS
Any ideas or alternative ways to accomplish this would be
much appreciated.
Cheers