示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            FacturaReport rpt = new FacturaReport();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void CrystalReportViewer1_Load(object sender, EventArgs e)
        {
            FacturaReport listado = new FacturaReport();

            listado.SetDataSource(ListaPedidos);

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