Hi All,
In my crystal report i am giving from and to date as input through aspx page. Now i want to display the from date in the report viewer. Please give solution...
Hi All,
In my crystal report i am giving from and to date as input through aspx page. Now i want to display the from date in the report viewer. Please give solution...
add one From date parameter in the Report and then you can do like below code. lRptClass.SetParameterValue("Fromdate", Fromdate)
Add the parameter fields to the report's Report Header section.
If it is a date-range parameter, create a formula field with the following code:
ToText(Minimum({?Date Range}), "MM/dd/yyyy") + "-" + ToText(Maximum({?Date Range}), "MM/dd/yyyy")
Add the formula field to the report' Report Header section.