Search criteria should displayed in the Crystal report

Posted by Samy33 under ASP.NET on 8/13/2010 | Views : 2127 | Status : [Member] | Replies : 1
I am having crystal reports in my project.one 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.




Responses

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

Up
0
Down
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.
..
..you 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