Beispiel #1
0
        private void MycrystalReportViewer1_Load(object sender, EventArgs e)
        {
            cReportePrestamo report = new cReportePrestamo();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }
Beispiel #2
0
        public PrestamoRP(List <Prestamo> prestamos)
        {
            this.reporte = prestamos;
            InitializeComponent();
            cReportePrestamo report = new cReportePrestamo();

            report.SetDataSource(reporte);

            MycrystalReportViewer1.ReportSource = report;
            MycrystalReportViewer1.Refresh();
        }