I have created report in SQL Server 2005 Business Intelligence Studio with parameter. Now I am using Visual Basic 2005 Express version.
I rename the report.rdl to report.rdlc. and copied into the visual basic 2005 express project folder Then added ReportViewer control on the winform and configure it with report than i try to run report is give me error Report missing a parameter value.
So I added following code in Report Load. Then it started giving me error Datasource not defined. But when I i double click the report file I can see the datasource already defined in XML with query.
So what can be problem and how to solve it.
Dim parameters(0) As ReportParameter
parameters(0) = New ReportParameter("InvoiceMasterID", 11)