Search code examples
c#wpfparametersreportbuilderrdl

Generate a custom report with parameters


I have created a .RDL with ReportBuilder 3.0. This RDL contains a dataset and a datasource. The dataset has its own query. This RDL contains some parameters.

What i want to do is: From a WPF application, take this RDL, put some data in the parameters, create the report and save the report.

This RDL is a local file added to the project.

Does anyone have a solution for this?


Solution

  • RDL report is meant to be published on Reporting Services server.

    I believe what you need is rdlc report that you can use locally.

    How to create a report: http://msdn.microsoft.com/en-us/library/hh273267.aspx

    Passing parameters programmatically: http://dotnetknowledgebox.blogspot.in/2012/01/passing-parameters-to-rdlc.html