I am trying to setup a asp.net page that can run a report based on a report name in the querystring. How can I make this happen?
I tried this
But it doesn't seem to work. Any ideas?
I tried this
Dim ReportName As String = Request.QueryString("Report") |
If ReportName IsNot Nothing Then |
Dim r As Telerik.Reporting.Report = Activator.CreateInstance(Type.GetType("MyReportProject." & ReportName)) |
ReportViewer1.Report = r |
End If |
But it doesn't seem to work. Any ideas?