[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 228
  • Last Modified:

ASP.NET 2.0 - Sorting a GridView control bound to a List<T> object

I've got a gridview that is databound to a List<T> of objects from a custom class that I have defined.  I've got it working fine, but I need a little direction on how to apply sorting to the gridview so that it will sort the data based on a column when you click the header text in that column.

Unfortunately this is an older application written in ASP.NET 2.0, so any solution I use can't utilize .NET 3.5 language constructs.

Any help on this would be great.

1 Solution
Miguel OzSoftware EngineerCommented:

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now