Filtering support in databinding
Add Filter and Sort support to Windows Forms BindingSource when bound to EF as in example below.
Dim context As New MyEntities
EmployeeBindingSource.DataSource = context.Employees.Local.ToBindingList()
'Would like the following to then work
EmployeeBindingSource.Filter = "FirstName = 'SANTA'"
EmployeeBindingSource.Sort = "FirstName"
I use data-driven filters stored outside of the application, so new filters and sorts may be added without new code.
Joe VBA commented
the link returns a page error.