C
Chukkalove
I am a developer with limited database and zero crystal report experience. I
am very confused.
We wanted the ability to switch database providers easily, so I selected to
use ADO components with our application.
The database we're developing with is MySQL. I downloaded their MySQL
Connector/NET components which are ADO compliant. Using .NET connectors, if
we want to switch to another provider, there should be minimal code changes
necessary to make it run.
It all works fine so far. I connect to the remote database at run time using
a connection string read from stored configuration information.
Now I need to add reporting capabilities to the application, using Crystal
reports, and this is where Im confused.
http://support.businessobjects.com/communitycs/technicalpapers/rtm_reportingoffadonetdatasets.pdf
This example shows preparing data for use in a web project. Ours is a
desktop application.
So far I've tried to keep all of this as generic and configurable from
config files as possible.
The example in the above link uses a wizard to link to OLE DB provider
registered on the local pc. This immediately ruins the portability as it's
done through a wizard.
Is OLE DB the "same" as ADO?
Do I need to download and install OLE DB drivers from mySQL's site?
I wondered if once you've used this wizard, at later dates you can
programmatically change server information. Is that possible?
thanks
am very confused.
We wanted the ability to switch database providers easily, so I selected to
use ADO components with our application.
The database we're developing with is MySQL. I downloaded their MySQL
Connector/NET components which are ADO compliant. Using .NET connectors, if
we want to switch to another provider, there should be minimal code changes
necessary to make it run.
It all works fine so far. I connect to the remote database at run time using
a connection string read from stored configuration information.
Now I need to add reporting capabilities to the application, using Crystal
reports, and this is where Im confused.
http://support.businessobjects.com/communitycs/technicalpapers/rtm_reportingoffadonetdatasets.pdf
This example shows preparing data for use in a web project. Ours is a
desktop application.
So far I've tried to keep all of this as generic and configurable from
config files as possible.
The example in the above link uses a wizard to link to OLE DB provider
registered on the local pc. This immediately ruins the portability as it's
done through a wizard.
Is OLE DB the "same" as ADO?
Do I need to download and install OLE DB drivers from mySQL's site?
I wondered if once you've used this wizard, at later dates you can
programmatically change server information. Is that possible?
thanks