Search criteria should displayed in the Crystal report

Posted by Samy33 under ASP.NET on 8/13/2010 | Views : 2282 | Status : [Member] | Replies : 1
I am having crystal reports in my screen have a search criteria for the crystal report in search criteria like Data,Code and Item
I have to display the search criteria in crystal report which has user entered the search criteria in particular screen.


Posted by: Abdulhaknet on: 10/27/2011 [Member] Starter | Points: 25

Hi Friend,

For this solution
First you have to prepared parameters in crystal report design
second in code before showing

define report class object with name "myreport"

myreport.SetParameterValue("paramName", paramValue); // Here paramName is name in crystal report design parameter name.
.. can add parameters with your criterias
MyReportViewer.ReportSource = myreport;

Samy33, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response