Sorting Readonly Collection in VB.NET for Windows ApplicationSorting Readonly Collection in VB.NET for Windows Application
Old forum URL: forums.lhotka.net/forums/t/3663.aspx
jvnbkk posted on Monday, October 08, 2007
Hi
When I am trying to sort the datagridview which is bound to CSLA object (readonly collection object), it is giving an error saying "DataGridView Cannot be sorted if it is bound to an IBindingList that does not support sorting". What might be the reason? Please help me
Kiran
RockfordLhotka replied on Monday, October 08, 2007
You need to use SortedBindingList to wrap your collection, then bind the UI to the SortedBindingList.Copyright (c) Marimer LLC