Beispiel #1
0
 private void ProductReportForm_Load(object sender, EventArgs e)
 {
     this.productsTableAdapter.Fill(this.dataSet2.products);
     this.configurationTableAdapter1.Fill(this.dataSet2.configuration);
     ProductReport rpt = new ProductReport();
     rpt.SetDataSource(this.dataSet2);
     crystalReportViewer1.ReportSource = rpt;
 }
Beispiel #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     ProductReport rpt = new ProductReport();
     rpt.Site = this.Site;
     return rpt;
 }