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

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

            listadoCobros.SetDataSource(ListaCobros);

            MycrystalReportViewer.ReportSource = listadoCobros;
            MycrystalReportViewer.Refresh();
        }