コード例 #1
0
 private void Print_Inventory_Load(object sender, EventArgs e)
 {
     var inventory = new PrintInventory();
     inventory.SetDataSource(ds);
     crystalReportViewer1.ReportSource = inventory;
 }
コード例 #2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     PrintInventory rpt = new PrintInventory();
     rpt.Site = this.Site;
     return rpt;
 }