Reputation: 67
How to dynamically sort data in DataGridView in Windows Forms when we are entering data to a column header?
Upvotes: 1
Views: 247
Reputation: 62276
The easiest way is to bind DataGrid to DataView and after use its RowFilter property to query data, as DataGrid is binded to that data, the content of it will be updated automatically.
DataGrid