Sortable IBindinglist

Datagridviews in dotnet work well with datasets.  They work less good with “normal” objects; for instance sorting is much more of a hassle to implement.

The sorting problem is solved nicely in this piece of code.  It is more or less just to copy the code and violà, a sortable object list.

Tags: , ,

Leave a Reply