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.
Unfortunately, activation email could not send to your email. Please try again.

How to create RDLC report using Business Object Data Source

The following shows the procedure to create RDLC report using Microsoft Visual C#.

  1. Open Microsoft Visual studio, in New Project dialog box, choose Visual C#, and then choose the WPF Application template and give project name, and click OK.

Note: Choose the New Project template based on your development platform. It can be a WPF, ASP.NET and Windows Forms.

  1. From the Project menu, select Add New Item, choose Class, name as SalesPersons and click Add.
  2. Replace the default code for SalesPersons.cs with the following code:

C#

  1. From the Project menu, select Build Solution. This creates an assembly for the object, which you will later use as a data source for the report.
  2. Right click on the project and go to Add New Item dialog, select Report Wizard and name as Sales Dashboard.rdlc for the report and click Add. This shows the Report Wizard dialog.
  3. In the Choose a Data Source Type page, select Object and click Next.
  4. In the Select the Data Objects page, expand the class hierarchy until you see Products in the list. Select Products and click Finish.

  1. In the Dataset Properties page, check the Available datasets box, verify that Product is selected  and click Next.
  2. In the Arrange Fields page drag Name, QS1, QS2, QS3, QS4 from available fields to the Values box. Click Next twice, then click Finish. This creates the .rdlc file and opens it in designer page and displays the tablix created.
  3. Save the .rdlc file.

 

Also the RDLC report can be created using Syncfusion ReportDesigner, refer to the online documentation from the below location.

https://help.syncfusion.com/wpf/reportdesigner/create-rdlc-reports-through-wizard

 

The created reports can be used in the Syncfusion reporting controls.

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8799 05/31/2018 05/31/2018 WPF ReportViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.