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

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        public ReporteUsuario(List <Usuarios> lista)
        {
            InitializeComponent();
            ReporteUsuarioCrystal reporte = new ReporteUsuarioCrystal();

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