Filtering on a List<T> BindingSource

13 06 2007

funnel.gifUpdate: 19/06/2007 – I have attached a copy of ListBindingSource.cs which I have modified slightly to match against partial field matches (similar to SQL’s LIKE) rather than matching the whole field.

ListBindingSource.cs 11.5 Kb

I maintain a C# application and a recent feature request was to be able to search a list of items on a number of attributes. The original implementation used a List<T> as the datasource for a Binding Source. I hit a wall when trying to use the Filter property on the binding source.

Read the rest of this entry »

Advertisements