public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { listeartcli rpt = new listeartcli(); rpt.Site = this.Site; return(rpt); }
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(); }