Customizing the Data provider

Stimulsoft Reports.WEB discussion
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

we are developing a new component for a existing product using stimulsoft report designer.and My customer want to have a own data provider (rather using StiOledbDatabase). so we try to implement a class just like in StiOledbDatabase class.But when we try to connect database using the class which we have written it wont connect to database.sample code has attached.

please update me wt i have done wrong.

tnx

chaminda

TestDatabase
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

Yes, it is correctly.
Also you can see several additional database adapter, as sample, on our site in section downloads - database pack.

Let us know if you need any additional help.
Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

bt when i try to connect using my class it is not connecting. wts wrong with it.
it has to be a specific namespace ?

please update

chaminda
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

i have downloaded oracle data provider and sqlcedata provider. and added all the classes as for the example.but still does not connect when report is loading.bt since i am using OLEDB driver writing database class which is derived from Stidatabase class is enough.but i am helpless since no errors returning and cant debug. how can i find out where is the error.

please help


chaminda
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

Please send us you provider for analysis.

Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Here i have attached the provider which i have written.

provider

i have stuck there



Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

Still i couldn't understand what i have done wrong.And still waiting for a answer from you guys.since i have stuck in a middle of the work.i have attached my classes in previous post.and Hope will get answer soon.

chaminda
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

You code work correctly.
Please send us a step-by-step guide how to reproduce the issue?
Also this adapter will be work only for standalone designer. In designer web it is will not worked.

Thank you.
Chasoo
Posts: 40
Joined: Wed Oct 19, 2011 1:29 am

Customizing the Data provider

Post by Chasoo »

i want to work with designer.web.
cant we write our own provider for designer web.

thats what my client want to have

i am waiting

tnx,
chaminda
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Customizing the Data provider

Post by Alex K. »

Hello,

As a way, you can do not change the name of the class in a modified OleDb adapter, but to change only the methods that you need.

Thank you.
Post Reply