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

            rpt.Site = this.Site;
            return(rpt);
        }
Beispiel #2
0
        private void Ilisteartcli_Load(object sender, EventArgs e)
        {
            listeartcli listeartcli1 = new listeartcli();

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

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