public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { cReportePrestamo rpt = new cReportePrestamo(); rpt.Site = this.Site; return(rpt); }
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(); }