The DataGridView has a property AllowUserToOrderColumns if you set this to true you can then click on the column header and it will order it for you.
That is if you are talking about a DataGridView and not a GridView for this there are different settings which I am unfamiliar with.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.