.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Sorting Based on click on the Header column in a GridView

Posted By: Deco     Posted Date: September 20, 2010    Points:2   Category :C#
I have a GridView in which i have linked button for the Header column, Can anyone please tell me how to sort the gridview, when we select the header in the gridview?

Author: Asha.MP             
Posted Date: September 21, 2010     Points: 5   


Just Add sortExpression property for each header as the header name and set the Allowsorting property true for the gridview.

Thanks and Regards,

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend