2

I want to sort by column containing objects of my own type. Witch method should I override in my custom object (i.e. CompareTo, operator <) so the WebGrid can sort them automatically,

Much like WebGrid sorts DateTime correctly.

(I am using ASP.NET MVC 3, with .NET 4)

gyosifov
  • 3,193
  • 4
  • 25
  • 41

0 Answers0