public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { liste_client rpt = new liste_client(); rpt.Site = this.Site; return(rpt); }
private void Fetat_client_Load(object sender, EventArgs e) { liste_client l = new liste_client(); l.DataSourceConnections[0].SetConnection("MOWGLI", "gestion_stock", "sa", "123456"); etat_client.ReportSource = l; etat_client.RefreshReport(); }