private void CustomerReport_Load(object sender, EventArgs e)
 {
     BookingSystemDataSet ds = new BookingSystemDataSet();
     BookingSystemDataSetTableAdapters.CustomersTableAdapter ta = new BookingSystemDataSetTableAdapters.CustomersTableAdapter();
     CustomersR cr = new CustomersR();
     ta.Fill(ds.Customers);
     cr.SetDataSource(ds);
     CustomerReportViewer.ReportSource = cr;
 }
Ejemplo n.º 2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     CustomersR rpt = new CustomersR();
     rpt.Site = this.Site;
     return rpt;
 }