コード例 #1
0
 private void CrossTabReport_Load(object sender, EventArgs e)
 {
     BookingSystemDataSet ds = new BookingSystemDataSet();
     BookingSystemDataSetTableAdapters.CustomerTransactionsTableAdapter ta = new BookingSystemDataSetTableAdapters.CustomerTransactionsTableAdapter();
     CrossTabCustTran cr = new CrossTabCustTran();
     ta.Fill(ds.CustomerTransactions);
     cr.SetDataSource(ds);
     CrossTabReportViewer.ReportSource = cr;
 }
コード例 #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     CrossTabCustTran rpt = new CrossTabCustTran();
     rpt.Site = this.Site;
     return rpt;
 }