Exemplo n.º 1
0
 private void CustomerReportForm_Load(object sender, EventArgs e)
 {
     this.customerTableAdapter1.Fill(this.dataSet2.customer);
     this.configurationTableAdapter1.Fill(this.dataSet2.configuration);
     CustomerReport rpt = new CustomerReport();
     rpt.SetDataSource(this.dataSet2);
     crystalReportViewer1.ReportSource = rpt;
 }
Exemplo n.º 2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     CustomerReport rpt = new CustomerReport();
     rpt.Site = this.Site;
     return rpt;
 }