One of the common things people want to do when displaying data with grid controls is to have the little up and down arrows next to the header columns to indicated what direction the data is being sorted in. You see this in Windows Explorer and many other programs. This has been traditionally something that is difficult to do with the GridView control in ASP.NET. If you search the internet you will find a variety of hacks to do this: Matt Berseth: Building a VS2008 Styled Grid with the GridView Control 4 Guys From From Rolla.com: Improving the Sort Arrows GridView Control Some of these implementations have various limitations such as they don't work if you use AutoGenerateColumns = true. In .NET 4 we addressed these problems by adding a couple...(read more) ...
Go to the complete details ...