public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReportRecibo1 rpt = new CrystalReportRecibo1(); rpt.Site = this.Site; return(rpt); }
private new void Load(object sender, EventArgs e) { DataTable tPedido = llenaPedido(); DataTable tEmple = llenaEmple(); DataTable tproduc = llenaPro(); CrystalReportRecibo1 reporte = new CrystalReportRecibo1(); reporte.Database.Tables["Pedido"].SetDataSource(tPedido); reporte.Database.Tables["Empleado"].SetDataSource(tEmple); reporte.Database.Tables["Producto"].SetDataSource(tproduc); crystalReportViewer1.ReportSource = reporte; }