Hello everyone. I am working on a score/grading app. Everything thing works fine except I am struggling with the actual functionality.
I am able to generate the scores as shown below in a listbox but unable to sort them by their value from the greatest to the least and assign the text '1st'...
I have a ListView bound to a view model, I set up groupings in the list view using PropertyGroupDescriptions:
BrowserItemCollectionView = CollectionViewSource.GetDefaultView(myCollection);
//Set up filter
The problem I'm having is when I programmatically sort my DataGridView I get the following exception:
System.InvalidOperationException: DataGridView control must be bound to an IBindingList object to be sorted.
This shouldn't be happening. The data source is a DataView which of...