Exemple #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            cReportePrestamo rpt = new cReportePrestamo();

            rpt.Site = this.Site;
            return(rpt);
        }
Exemple #2
0
        private void MycrystalReportViewer1_Load(object sender, EventArgs e)
        {
            cReportePrestamo report = new cReportePrestamo();

            report.SetDataSource(reporte);

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

            report.SetDataSource(reporte);

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