public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ClientesCrystalReports rpt = new ClientesCrystalReports(); rpt.Site = this.Site; return(rpt); }
private void CrystalReportViewer1_Load(object sender, EventArgs e) { ClientesCrystalReports us = new ClientesCrystalReports(); us.SetDataSource(ListarCliente); crystalReportViewer1.ReportSource = us; crystalReportViewer1.Refresh(); }