Telerik Reporting using objectDataSource

2 posts, 0 answers
  1. Pravallika
    Pravallika avatar
    30 posts
    Member since:
    Mar 2014

    Posted 29 Sep 2014 Link to this post

    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
  2. Stef
    Stef avatar
    3610 posts

    Posted 01 Oct 2014 Link to this post

    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.


    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.

Back to Top