Binding master detail datagrid in WPF
Posted: Fri 12 Sep 2008 13:37
Hi,
I'm working with Oradirect 4.75.40.0 with MS Visual Studio 2008.
I'm trying to make the Oradirect.Net sample "MasterDetail" in WPF/C#. As datagrid I use the new Microsoft datagrid component which comes with the WPFToolkit.
I'v createe a strongly typed Dept Emp dataset (OraDirect style, option "use provider specific code generator is checked" is used in dataset wizard.
I'm wondering how I can bind this datagrid. In the Windows Forms sample the grid is bound to the relation. In WPF however, the relation is not exposed as a public property but can be retrieved by means of the relations property of the dataset.
How can I bind this relation to the datagrid?
Regards,
Matthieu de Graaf
I'm working with Oradirect 4.75.40.0 with MS Visual Studio 2008.
I'm trying to make the Oradirect.Net sample "MasterDetail" in WPF/C#. As datagrid I use the new Microsoft datagrid component which comes with the WPFToolkit.
I'v createe a strongly typed Dept Emp dataset (OraDirect style, option "use provider specific code generator is checked" is used in dataset wizard.
I'm wondering how I can bind this datagrid. In the Windows Forms sample the grid is bound to the relation. In WPF however, the relation is not exposed as a public property but can be retrieved by means of the relations property of the dataset.
How can I bind this relation to the datagrid?
Regards,
Matthieu de Graaf