cannot pass null value for paramters to the report
Posted: Tue Mar 16, 2010 2:08 pm
hi im using Stimulsoft 2009 and i add a query in my report
when i send my parameters value to my report from C# it give me a error when i want to send NULL value to my parameters.the error says the parameters not specified.
my query is something like this:
SELECT column1
FROM table1
WHERE column1 = ISNULL(@param1, column1)
AND column2 = ISNULL(@param2, column2)
when i specify a null for @param2 the error comes up and incidate that parameter not specified!
Thanks in Advance
when i send my parameters value to my report from C# it give me a error when i want to send NULL value to my parameters.the error says the parameters not specified.
my query is something like this:
SELECT column1
FROM table1
WHERE column1 = ISNULL(@param1, column1)
AND column2 = ISNULL(@param2, column2)
when i specify a null for @param2 the error comes up and incidate that parameter not specified!
Thanks in Advance