sorting

  1. SamueDexterAYG

    Question How to sort names (strings) with assigned numbers from greatest to least as 1st 2nd 3rd etc

    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'...
  2. archie456

    Resolved ListView PropertyGroupDescription Custom Sort

    Hi, 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 BrowserItemCollectionView.Filter =...
  3. P

    Question Problem sorting DataGridView

    Hello All, 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...
Top Bottom