I'm using a FilteredBindingList(which implements the BindingList
Making an instance of FilteredBindingList (FilteredBindingList
someBindingSource.Filter = string.Format("key={0}",someComboBox.SelectedValue)));
It works fine if I set this "someBindingSource" as datasource of a datagridview. But, if I remove an item from the filtered datasource of the "someBindingSource", the result is wrong, because if I code someBindingSource.RemoveFilter(), the removed item is still on the current DataSource property of "someBindingSource", but the immediatly record which I'm not remove, was removed.
Any of you know why this happens???
Thanks in advance. I' really appreciate.
adrenalin adrenalinPosted Nov 25, 2013, 4:00 PM
please help me how to create for support for Serializable in FilteredBindingList class
reference link :
http://wiki.visualwebgui.com/pages/index.php?title=BindingSource_CodeSample_-_Databinding_to_Filterable_list_of_custom_objects&oldid=7142
Gabriel GoyoPosted Jun 25, 2013, 11:03 AM
Iftikar HussainPosted Jun 25, 2013, 2:33 AM
Please refer the below link.
http://code.msdn.microsoft.com/DataGridView-Filter-db565575
Let me know if you need more information
Regards,
Iftikar
Remember to click "Mark as Answer" on the post, if it helps you.