c# - Crystal Reports in VS2010: Prompted Parameter value in Design Time -


i have crystal report , in design time on vs2010 apply parameter field via [database expert][add cmd][create parameter] wizard. prompts me specific value new parameter. don't see why should going dynamic!

in c# code, solution works if dynamic value @ run time matches design-time prompted value. seems defeat purpose.

in run-time code have: crystalreport.setparametervalue("tenantid", tenantid);

tenanid cr parameter in design time tenanid picked dynamic value

can't make dynamic?

use:

 crystalreport.parameterfields(1).addcurrentvalue (num) 

where "num" parameter value


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -