Beispiel #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport22 rpt = new CrystalReport22();

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void button16_Click(object sender, EventArgs e)
        {
            OdbcConnection   conexion = ASG_DB.connectionResult();
            frm_reporteVenta frm      = new frm_reporteVenta();
            CrystalReport22  cr       = new CrystalReport22();

            frm.crystalReportViewer1.ReportSource = cr;
            frm.crystalReportViewer1.RefreshReport();
            frm.ShowDialog();
        }