public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { CrystalReport21 rpt = new CrystalReport21(); rpt.Site = this.Site; return(rpt); }
private void button13_Click(object sender, EventArgs e) { OdbcConnection conexion = ASG_DB.connectionResult(); frm_reporteVenta frm = new frm_reporteVenta(); CrystalReport21 cr = new CrystalReport21(); frm.crystalReportViewer1.ReportSource = cr; frm.crystalReportViewer1.RefreshReport(); frm.ShowDialog(); }