/// <summary> /// Affichage des information dans DataGrid selon le filtre s'il exsiste /// </summary> public void Actualiser() { ObjetBindingSource.Clear(); Dictionary <string, object> critereRechercheFiltre = this.BaseFilterControl.CritereRechercheFiltre(); var ls = Service.Recherche(critereRechercheFiltre); ObjetBindingSource.DataSource = ls; }
public void Actualiser(Dictionary <string, object> CritereRechercheFiltre) { ObjetBindingSource.Clear(); this.CritereRechercheFiltre = CritereRechercheFiltre; var ls = Service.Recherche(CritereRechercheFiltre); ObjetBindingSource.DataSource = ls; }
/// <summary> /// Show Entity List in DataGrid with FilterValues /// </summary> /// <param name="FilterValues">Filter Values to filter Data in GridView</param> public void RefreshEntities(Dictionary <string, object> FilterValues) { this.FilterValues = FilterValues; var ls = EntityBLO.Recherche(FilterValues); ObjetBindingSource.Clear(); foreach (var item in ls) { ObjetBindingSource.Add(item); } }