Sorting columns in a GridView Control

I have a gridview using the .NET Framework 4.5.1 where the columns are autogenerated and text is coded into the column headers. I want to know how to implement sorting on the GridView. I changed the property AlowSorting to true, but nothing happened. Do I need to setup m GridView differently to be able to sort as in not autogenerate columns? Are there any good examples on how to do this in VB.NET? Or do you have an example of what I need to do?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.