Page 1 of 1

New to OraDirect

Posted: Tue 06 Jun 2006 03:31
by scott.pedersen
Hi,

I have been looking through the samples that are supplied with OraDirect and have noticed that most, if not all of them contain all the source code in the main file.

I was wondering can the code that is generated in by OraDirect be moved to different class files if needed?

Also does OraDirect integrate into the data driven components like a combo box, or does code have to be manually written to achieve this?

I noticed that it was manually written in one of the samples.

Cheers,

Scott.

Posted: Tue 06 Jun 2006 07:40
by Alexey

Code: Select all

can the code that is generated in by OraDirect be moved to different class files if needed?
Any code can be moved anywhere, including, of course, to different class files.

Code: Select all

does OraDirect integrate into the data driven components like a combo box, or does code have to be manually written to achieve this?
Please specify. If your are talking about data binding, refer to MSDN for more information.

Posted: Tue 06 Jun 2006 20:51
by scott.pedersen
Hi Alexey,

What I was trying to say is with OraDirect if you need to bind a dataadapter, dataset to a .NET component (ComboBox) does this need to be done manually or can a wizard be used?

Cheers,

Scott.

Posted: Wed 07 Jun 2006 06:34
by Alexey
To create a dataset you can use our DataSet Wizard. But to bind a combobox to this created dataset you should manually change "(DataBindings)" properties in Properties window.

Posted: Tue 13 Jun 2006 21:49
by scott.pedersen
Hi Alexey,

I also found out you have to fill the dataset using DataAdapter.Fill(DataSet).

Cheers,

Scott.

Posted: Wed 14 Jun 2006 06:10
by Alexey
Yes, you have to fill the dataset using DataAdapter.Fill(DataSet).