MyReportViewer.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
MyReportViewer.ServerReport.ReportServerCredentials = new ReportServerNetworkCredentials();
MyReportViewer.ServerReport.ReportServerUrl = new Uri(@"http://myreportserver/reports");
MyReportViewer.ServerReport.ReportPath = "InvoiceReport";
MyReportViewer.ShowParameterPrompts = false;
MyReportViewer.ShowPrintButton = true;
Microsoft.Reporting.WebForms.ReportParameter[] reportParameterCollection = new Microsoft.Reporting.WebForms.ReportParameter[1];
reportParameterCollection[0] = new Microsoft.Reporting.WebForms.ReportParameter();
reportParameterCollection[0].Name = "INVOICEID";
reportParameterCollection[0].Values.Add("ABC011223");
MyReportViewer.ServerReport.SetParameters(reportParameterCollection);
MyReportViewer.ServerReport.Refresh();