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

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

            listado.SetDataSource(ListaClientes);

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