or
Select Case intReportID
Case 1
rptViewer.Report = New MyReportingProject.Report1(param1, param2, param3)
Case 2
rptViewer.Report = New MyReportingProject.Report2(param1, param2, param3)
Case 3
rptViewer.Report = New MyReportingProject.Report3(param1, param2, param3)
End Select
rptViewer.Report = New Report([strReportName])(parameters need to be passed to the New method of the report as well)
*** ReportProcessor.Render STARTED ***
*** ReportProcessor.GetRenderer STARTED ***
*** ReportProcessor.GetRenderer DONE in 00:00:00.0000178 ***
*** ProcessReport #0 STARTED ***
*** Report Processing STARTED ***
*** Report Processing DONE in 00:00:00.5451143 ***
*** Measure Report (Horizontal) STARTED ***
*** Measure Report (Horizontal) DONE in 00:00:00.0225983 ***
*** Measure Report (Vertical) STARTED ***
*** Measure Report (Vertical) DONE in 00:00:00.0752775 ***
*** ProcessReport #0 DONE in 00:00:00.6693311 ***
*** RenderReport #0 STARTED ***
*** RenderReport #0 DONE in 00:00:04.3975884 ***
*** ReportProcessor.Render DONE in 00:00:05.0752669 ***