We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Report from dataset inside project.

Thread ID:





131723 Jul 25,2017 11:48 AM UTC Jul 31,2017 04:36 AM UTC WPF 5
Tags: ReportDesigner
Asked On July 25, 2017 11:48 AM UTC

I have a project with DataSet. How can I reference this projects DataSet in the Designer. DataSet is based on MS Access database.

Best regards,

Vinoth Srinivasan [Syncfusion]
Replied On July 26, 2017 01:12 PM UTC

Hi Dubravko, 
Thanks for your interest in Syncfusion Components. 
You can convert the DataSet as list of objects and use those list of objects as datasource in our WPF report designer. The RDLC DesignMode in ReportDesigner allows you to use business objects as datasource in reports. We have prepared a sample based on this and it can be downloaded from the following location. 
Please refer our online UG documentation for more details on this. 
Vinoth S. 

Replied On July 26, 2017 02:17 PM UTC


thanks for the sample. I managed to get it work. 

One more question, how to avoid datasource pop up window to choose datasource, dataset and method, in other words how to set this

from code behind so that report is just shown.


Vinoth Srinivasan [Syncfusion]
Replied On July 27, 2017 08:36 AM UTC

Hi Dubravko, 
The pop up is used to get details of the Dataset object at first execution of the report in Report Designer. If the saved report definition has dataset info, then the selected items are shown in the pop up, by default. Report Designer supports to dynamically change method, class, and the namespace of the business object, so the pop up shows up with all default selection items. Once the report has been saved with dataset info then the dataset info code will be generated in the report definition. Please refer to the below screenshot for the saved dataset information.  
However, you can edit the report definition of the report in code behind and you can insert the above highlighted code. Please refer the following KB for editing the report in code behind. 
Vinoth S. 

Replied On July 28, 2017 02:08 PM UTC

Thanks for the info, it works now. 

Best regards

Vinoth Srinivasan [Syncfusion]
Replied On July 31, 2017 04:36 AM UTC

Hi Dubravko, 

Thanks for your update. Please let us know if you require any further assistance on this. 

Vinoth S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon