I added a parameter to the rdlc called paramTitle
Then I tried this as a demo
I bound a text box to that parameter withCode:Dim params(0) As Microsoft.Reporting.WinForms.ReportParameter params(0) = New Microsoft.Reporting.WinForms.ReportParameter("paramTitle", "Hello world") ReportViewer1.LocalReport.SetParameters(params) ReportViewer1.RefreshReport()
Now when I run the program, the textbox says "#Error" rather than "Hellow world" as I would expect.Code:=Parameters!paramTitle
Does anyone see anything wrong here?
Thanks,
Dave




Reply With Quote