Last post Jun 16, 2011 11:47 AM by Inayat Rasool
Jun 16, 2011 12:39 AM|thiruppathi.alagan|LINK
I am working with Crystal report. I have one question,
I have added 5 parameters in my report (.rpt) file. Here i want to check, whether these parameters are available in the .rpt file using .net aspx page code behind.
I am using following code set parameter,
Is that any possible way to Get parameter in code behind.
Thanks in advance.
Jun 16, 2011 12:58 AM|velambath|LINK
You see in view that explerer..... on near that database expert, there u can see add parameters..... right click add parameter & there u can fill the parameter name & default all, then from code calling this report pass those parameters
You cant get know what and all are the parameters, just pass them as u needed
Jun 16, 2011 11:47 AM|Inayat Rasool|LINK
Crystal reports parameters can be made visibile on the reports by selecting themin field explorer's parameterFields and right click shows insert into reports option.
However I suggest to press Run the report directly(outsife Visual studio) by pressing F5 and then it will ask you to enter parameters if there are in the report. The parameter page shows how you have set parameters.
Visual studio Code behind will not be able to show you fields in Crystal reports. You need to pass the parameters by listing names (According you my research).
Hope that Helps.