patrick

patrick

  • NA
  • 397
  • 0

Using C#, Crystal Reports

Nov 29 2011 5:51 PM
Im using crystal reports with c# and mysql, I have the data load into the report as such: 
 

this.reportSnapshotsTableAdapter.FillByBusinessDayRangeOneLikeAverage(this.masterDataSet1.ReportSnapshots, TDayBDay, MDayBDay, HRF.DataType + "%");
HourlyReport1 = new HourlyReport();
HourlyReport1.SetDataSource(masterDataSet1);
crystalReportViewer1.ReportSource = HourlyReport1;

I have two questions.  First, how do I set a title on the report and change it programmatically?

Second, how can i load in and compare two values from the same table?  so it would be like

             date1       date2

valuetype   date1val    date2val

valuetype   date1val    date2val

any help is appreciated.


Answers (1)