Hi Papaloop,
The Visual Studio component "DataGridView" used to show the data, don't permit order by columns when the data source is a query.
The way to do this would be ordering the query by using an ORDER clause as you have indicated.
When I can I will try to implement it.
Greetings.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Papaloop,
The Visual Studio component "DataGridView" used to show the data, don't permit order by columns when the data source is a query.
The way to do this would be ordering the query by using an ORDER clause as you have indicated.
When I can I will try to implement it.
Greetings.