or
(ReportViewerMizan.Report
as RaporMuhMizan).ReportParameters["pCode1"].Value = TextBoxHesapKodu1.Text;
(ReportViewerMizan.Report
as RaporMuhMizan).ReportParameters["pCode2"].Value = TextBoxHesapKodu2.Text;
(ReportViewerMizan.Report
as RaporMuhMizan).ReportParameters["pDate1"].Value = RadDatePickerDate1.SelectedDate;
(ReportViewerMizan.Report
as RaporMuhMizan).ReportParameters["pDate2"].Value = RadDatePickerDate2.SelectedDate;
and it throws the exception i mentiond above.
RaporMuhMizan is the dll of my reports calss library project.
So how can i handle this? Thanks...
| Protected |
| Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| Dim rv As Telerik.Reporting.Report = New DepartmentReport() |
| rv.ReportParameters("DepartmentID").Value = 7 |
| Me.ReportViewer1.Report = rv |
| End Sub |
