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

Data is not showing up in reports

1 Answer 329 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 22 Jan 2010, 06:55 PM
I'm having some serious trouble with some reports. I can't seem to get the data to connect to the report through the Data Table Adapter. This is my first go at using telerik reporting, and I'm converting a bunch of Crystal Reports to Telerik. Everything was going smoothly most of the reports converted mostly smoothly, and they are running fine. I am now converting some of the ones that invloved sub reports, which I apparently need to create from scratch. No big deal, as they aren't terribly complex.

However, I seem to be missing something. On the first report, I associated the DataSource to the DataSet, and the DataMemeber to the DataTable, and the DataTableAdapter was automatically generated. However, I apparently missed the magic that made this happen, because I can't seem to duplicate this in later reports. I set the DataSource and DataMember, but the DataTableAdapter never gets created, and when I run the report, no data is found.

Pictures are attached.

1 Answer, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 25 Jan 2010, 09:47 AM
Hello Joe,

Unfortunately this happens when using typed datasets that are not created by our report engine as the report wizard cannot find the table adapter only by its name in all cases. This is general problem as a whole and you can observe the same with Crystal, SSRS etc (if you created the dataset manually).
In short, you should initialize the TableAdapter and fill the data set in the report constructor manually.
You can also re-create the datasets through our report Report Wizard if you have your database queries at your disposal and it would auto magically recognize the table adapter, initialize it and add the Fill() code in the report constructor for you.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Joe
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or