The follow code passes ReportParameters into SSRS report viewer to generate a report.
ReportParameter[] reportParameter = new ReportParameter[2];
reportParameter[0] = new ReportParameter("Parameter1", Parameter1);
reportParameter[1] = new ReportParameter("Parameter2", Parameter2);
ReportViewer1.ServerReport.SetParameters(reportParameter);
ReportViewer1.ServerReport.Refresh();
The following is a sample report with one of the parameters missing. I set the parameter "Parameter1" in this report.

Is there a way to programmatically make the C# code set the parameter to "none" if parameter is missing in the report and still generate the report?
As of now, the code will attempt to push the value for "Parameter2" into the report but since that parameter has not been set in the report, the report will not generate.