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

Telerik Reporting using objectDataSource

1 Answer 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pravallika
Top achievements
Rank 1
Pravallika asked on 29 Sep 2014, 06:00 AM
Hai all,

i want to change all my reports into telerik reports using typed dataset please help me how to do for that what i did is

1.first i create a Dataset1.xsd file in that i added a TableAdapter DataTable1 there i am getting somefileds and GetData()
2.then i created a Report1.cs(Telerik Report Q1 2014) there i added a objectdatasource in that i selected Select Available data source types tab ther i added my DataTable1 and in Choose Datasource Member i selecte GetData() and i click on finsih button
but when i select on Telerik=>Reporting=>DataExplorer its showing NoDatasource

how to use these datatable in my reports how to do please give me one sample example how to do its urgent


thanks in advance

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 01 Oct 2014, 03:54 PM
Hi Pravallika,

In order fields to be loaded in the Data Explorer, the adapter must establish connection to the underlying database (check the table adapter's class). When this operation is initiated by the integrated in Visual Studio Report Designer the connection string is not picked from the project's configuration file, but from the start application's configuration (devenv.exe.config).

If you copy the connection string in your project with the viewer, and run preview of the report, there will be no error on screen.


You can also use the approach described in the How to: Bind to a DataAdapter article.


I hope the above information is helpful.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Pravallika
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or