I working on a C# win-form app.
in my form i have Data-Grid-View that bind with a Binding-Source and Binding-Source Data-source is a table of entity-framework.
when i use entity framework i cant use filter of the binding-source and the sort by columns of data-grid-view but when i don't use entity framework i can use them. how can i use them with entity-framework?
my code when form loads is
contex = new myEntity();
myBindingSource.DataSource = contex.myTable;