public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { crInventory rpt = new crInventory(); rpt.Site = this.Site; return(rpt); }
private void frmReportInventory_Load(object sender, EventArgs e) { crInventory crInventory = new crInventory(); crInventory.Database.Tables["products_view"].SetDataSource(productBL.List("")); crvInventory.ReportSource = null; crvInventory.ReportSource = crInventory; crvInventory.Refresh(); }