Getting data into CR viewer from windows forms
Environment: Windows form, CR Viewer, CR 2008, VS 2008 and C#
How we get data from the Winforms to CR reports?
For example, the winform has report selection criteria (form and to date etc) and when user select a report, a stored procedure is called, data is populated into a work file. CR displays the work file.
In this case, user wants to see the selection criteria on the reports.
Yes, we can add fields in the work file and get it. But, is there any way to show this info direct from the winform?
You can add parameters to the CR and then populate those in the code of the Winform. Then in the CR, print the contents of the parameters whereever you want.