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