Display parameter valuse in local report

Hi,

I can not able to add parameter value in my local report. I have setup in the report(Report->Report Parameter) then the error come like this "An attempt was made to set a report parameter 'variable name' that is not defined in this report".

I also defined parameter variable in my code but does not work. Can any one help me how we define parameter value in my local report. If possible give example.

Thaks in Advance.

[437 byte] By [Anika] at [2008-2-11]
# 1

You have to declare the parameter in both the code and in the "Report -> Report Parameter..." if you wan't to use the parameters in the code. The error you receive, do i get too if i try to add a parameter only by code.

Mackan at 2007-9-9 > top of Msdn Tech,Visual Studio,Visual Studio Report Controls...

Visual Studio

Site Classified