Collapse

How to change data source for a report using the parameter

To preview a report with different data sources in the Bold Reports® Standalone Report Designer, set the data source connection string as an expression that uses a report parameter. The parameter holds the data source name and database name, as shown in the following image.

Connection string expression that uses a report parameter

To pass the parameter to the Report Viewer from your application, see Set the parameter in the Web API controller.

See also