private void MycrystalReportViewer1_Load(object sender, EventArgs e) { cReportePrestamo report = new cReportePrestamo(); report.SetDataSource(reporte); MycrystalReportViewer1.ReportSource = report; MycrystalReportViewer1.Refresh(); }
public PrestamoRP(List <Prestamo> prestamos) { this.reporte = prestamos; InitializeComponent(); cReportePrestamo report = new cReportePrestamo(); report.SetDataSource(reporte); MycrystalReportViewer1.ReportSource = report; MycrystalReportViewer1.Refresh(); }