public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { Report_cliente rpt = new Report_cliente(); rpt.Site = this.Site; return(rpt); }
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; }