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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            //CrystalReport8 cr8;
            cr8 = new CrystalReport8();
            foreach (ParameterDiscreteValue v8 in cr8.ParameterFields[0].DefaultValues)
            {
                comboBox1.Items.Add(v8.Value);
            }

            /*  cr6 = new CrystalReport6();
             * foreach (ParameterDiscreteValue v6 in cr6.ParameterFields[0].DefaultValues)
             *    comboBox2.Items.Add(v6.Value);
             */
        }