예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            ReporteVentas rpt = new ReporteVentas();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        private void ViewerVerReportesVentas_Loaded(object sender, RoutedEventArgs e)
        {
            ReporteVentas    reporte = new ReporteVentas();
            DataSetcubestore dataset = VentasListBRL.ObtenerListaVentasReporte();


            reporte.Load("../../ReporteVentas.rpt");
            reporte.SetDataSource(dataset);
            viewerVerReportesVentas.ViewerCore.ReportSource = reporte;
        }