public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ReporteFacturaCrystal rpt = new ReporteFacturaCrystal();

            rpt.Site = this.Site;
            return(rpt);
        }
Пример #2
0
        private void CrystalReportViewer1_Load(object sender, EventArgs e)
        {
            ReporteFacturaCrystal reporte = new ReporteFacturaCrystal();

            reporte.SetDataSource(lista);
            ReportViewer.ReportSource = reporte;
            ReportViewer.Refresh();
        }