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

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        private void Ilisteart_Load(object sender, EventArgs e)
        {
            listeart listeart1 = new listeart();

            if (xfamille != "")
            {
                listeart1.DataDefinition.FormulaFields["famille"].Text = "'Famille : " + xfamille + "'";
            }

            listeart1.SetDataSource(ds);
            listeart1.Refresh();
            crystalReportViewer1.ReportSource = listeart1;
            crystalReportViewer1.Refresh();
        }