Tell me why when specifying a DataSource, sorting by columns no longer works? I do something on the similarity:
using (var context = new TestEntity) { dataGridView.DataSource = context.Where(x => x.ID == _ID); }
When used as a DataTable source, sorting works.