예제 #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CrystalListe rpt = new CrystalListe();

            rpt.Site = this.Site;
            return(rpt);
        }
예제 #2
0
        private void btnList_Click(object sender, EventArgs e)
        {
            string       semaine = Utils.getDaysOfWeek();
            CrystalListe cl      = new CrystalListe();

            cl.SetDataSource(badgeDataSet);
            cl.SetParameterValue("ch3", semaine);
            string   filter = "{Groupe.IdGroupe} = " + (groupeComboBox.SelectedIndex + 1);
            Imprimer i      = new Imprimer(cl, filter);

            i.ShowDialog();
        }