Set Parameters RDLC Report C#
Hello, in my rdlc report I create parameter test. In form I write below code to set parameter //Set Parameters ReportParameter[] p = new ReportParameter[1]; p[0] = new ReportParameter("Test", "Testing"); currentBilling_rv.LocalReport.SetParameters(p); // Provide datasource to report Current_Total_Billing.rdlc ReportDataSource rds = new ReportDataSource("CurrentTotalBilling", dataset.Tables[2]); currentTotalBilling_rv.LocalReport.DataSources.Clear(); currentTotalBilling_rv.LocalReport.DisplayName = "Current Total Billing"; currentTotalBilling_rv.LocalReport.ReportPath = ".\\Current_Total_Billing.rdlc"; currentTotalBilling_rv.LocalReport.DataSources.Add(rds); currentTotalBilling_rv.RefreshReport(); When I run the program I have exception An unhandled exception of type 'Microsoft.Reporting.WinForms.MissingReportSourceException' occurred in Microsoft.ReportViewer.WinForms.dll Additional information: The source of the report definition has not been specified Please help.