public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { InventoryReport rpt = new InventoryReport(); rpt.Site = this.Site; return(rpt); }
private void frmReportView_Load(object sender, EventArgs e) { InventoryReport oReport = new InventoryReport(); crystalReportViewer1.ReportSource = oReport; }