Reputation: 57373
I am following instructions from this MSDN article:
How to: Sort a GridView Column When a Header Is Clicked
But, I'm binding Entity Framework objects to the ListView.
I get a runtime NotSupportedException "Specified method is not supported" when the Sort() method fails to execute this line:
dataView.SortDescriptions.Clear();
How do I need to adapt this example for Entity Framework?
Upvotes: 1
Views: 4137