This is a migrated thread and some comments may be shown as answers.

Create a BusinesObject return DataSet

1 Answer 136 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jose Ferreira Lima Filho
Top achievements
Rank 1
Jose Ferreira Lima Filho asked on 27 Jun 2008, 08:43 PM
Hi, 

 I purchased the telerik report and rad controls, and now I try make a report with oracle database with procedures.

Well I tried make a business class to access oracle and this is ok, but how to make the methods to bind in reporting and return the correct dataset format?

Someone can help me, send an business class that return an dataset to the report?

Thanks,
Jose

1 Answer, 1 is accepted

Sort by
0
Milen | Product Manager @DX
Telerik team
answered on 30 Jun 2008, 09:34 AM
Hi Jose Ferreira Lima Filho,

Thank you for choosing our products.

You can use any standard .NET datasource as datasource of the Telerik report. You can find more information in the help topic Connecting Data to a Report. As stated there, one can use IDbDataAdapter, for example OleDbDataAdapter. So you can use such adapter, or create a typed dataset with appropriate adapter to retrieve the data from your database.

There is no need to create some specialized business objects in order to provide data to the reports. Just follow the patterns described in the help topics following the topic pointed above.

Also, if your procedures have parameters, you will find useful the KB article Using data source with parameters in Telerik Reporting.

I hope this information helps. Write us if you need further assistance.

Best wishes,
Milen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Jose Ferreira Lima Filho
Top achievements
Rank 1
Answers by
Milen | Product Manager @DX
Telerik team
Share this question
or