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

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        private void Form_relatorio_Load(object sender, EventArgs e)
        {
            List <Cliente> lista  = new ClienteDAO().ListAll();
            Report_cliente report = new Report_cliente();

            report.SetDataSource(lista);
            cvcliente.ReportSource = report;
        }