meax80
February 28th, 2010, 02:43 AM
in my win form i have two datetimepickers.
first user selects dates from those two controls to filter the data between 2 dates.
and then click a button to generate the report.
in the same form i have CrystalReportViewer control.
when the user clicks the button i can get the data and show it in the CrystalReportViewer.
what i can't do is add a title to report header using those 2 dates selected by the user.
like this,
All Item In Inventory From 20/2/2010 To 28/2/2010
first user selects dates from those two controls to filter the data between 2 dates.
and then click a button to generate the report.
in the same form i have CrystalReportViewer control.
when the user clicks the button i can get the data and show it in the CrystalReportViewer.
what i can't do is add a title to report header using those 2 dates selected by the user.
like this,
All Item In Inventory From 20/2/2010 To 28/2/2010