Quantcast
Channel: Ralf Eisenreich » ASP.Net
Viewing all articles
Browse latest Browse all 11

ReportViewer: Pass Parameters to Remote Report

$
0
0

How to pass parameters to ReportViewer Control displaying a remote report (SSRS):

ReportParameter[] parameters = new ReportParameter[2];

protected void Page_Load(object sender, EventArgs e) {
parameters[0] = new ReportParameter("wave_id", "28");
parameters[1] = new ReportParameter("mpc_id", "1530");
ReportViewer1.ServerReport.SetParameters(parameters);
}


Viewing all articles
Browse latest Browse all 11

Trending Articles