Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ReporteVehiculos rpt = new ReporteVehiculos();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            ReporteVehiculos reporte = new ReporteVehiculos();

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