Oradirect with WPF
Posted: Mon 01 Sep 2008 19:49
Hi,
I'm working with Oradirect 4.75.40.0 with MS Visual Studio 2008.
I'm trying to creat a simple WPF form bounded to Oracle data via Oradirect
My approach is the following
1) Create a strongly typed dataset with a datatable (OraDirect style, option "use provider specific code generator is checked" is used in dataset wizard.
2) Load the data in the datatable in the Window_Loaded event
myDataset.MY_TABLE.Active = true
3) Set the datacontext of my stackpanel containing the text input items to myDataset.myDataTable
e.g
4) What property of the myDataTable do I use for the binding?
I tried binding to the myColumncolumn property of the myDataset.MY_TABLE but this doesn't work
Can you show me where I went wrong?
A little example of Oradirect with WPF would be appreciated. All the samples provided now are windows forms examples.
Regards,
Matthieu de Graaf
I'm working with Oradirect 4.75.40.0 with MS Visual Studio 2008.
I'm trying to creat a simple WPF form bounded to Oracle data via Oradirect
My approach is the following
1) Create a strongly typed dataset with a datatable (OraDirect style, option "use provider specific code generator is checked" is used in dataset wizard.
2) Load the data in the datatable in the Window_Loaded event
myDataset.MY_TABLE.Active = true
3) Set the datacontext of my stackpanel containing the text input items to myDataset.myDataTable
e.g
4) What property of the myDataTable do I use for the binding?
I tried binding to the myColumncolumn property of the myDataset.MY_TABLE but this doesn't work
Can you show me where I went wrong?
A little example of Oradirect with WPF would be appreciated. All the samples provided now are windows forms examples.
Regards,
Matthieu de Graaf