コード例 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalReport21 rpt = new CrystalReport21();

            rpt.Site = this.Site;
            return(rpt);
        }
コード例 #2
0
        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();
        }