protected void Button1_Click(object sender, EventArgs e) { ReportViewer1.ProcessingMode = ProcessingMode.Local; ReportViewer1.LocalReport.ReportPath = "report.rdlc"; ReportParameter[] reportParameterCollection = new ReportParameter[2]; reportParameterCollection[0] = new ReportParameter(); reportParameterCollection[0].Name = "course_code"; reportParameterCollection[0].Values.Add("C1,C2,C3"); reportParameterCollection[0].Visible = false; reportParameterCollection[1] = new ReportParameter(); reportParameterCollection[1].Name = "course_code"; reportParameterCollection[1].Values.Add("C1,C2,C3"); reportParameterCollection[1].Visible = false; ReportViewer1.LocalReport.SetParameters(reportParameterCollection); ReportViewer1.LocalReport.Refresh(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)