コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            VentasCrystalReport rpt = new VentasCrystalReport();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        private void VentasReporte_Load(object sender, EventArgs e)
        {
            VentasCrystalReport us = new VentasCrystalReport();

            us.SetDataSource(ListaVenta);

            crystalReportViewer1.ReportSource = us;
            crystalReportViewer1.Refresh();
        }