For column sorting you have to implement IBindingList. To do the Sorts you
need to look at IComparer and IComparable. If properties of your user
defined class are other user defined classes then you will need to deal with
PropertyDescriptor which from what I read is not an easy task. I am not sure
how paging works but I assume it is an interface somewhere.
"Henry" <ig******@hotmail.com> wrote in message
news:uc****************@tk2msftngp13.phx.gbl...
I have a large number of user define class objects and want display in a
datagrid and able to perform paging and column sorting. It seems using
DataView is the easiest way but the objects are not from database. I tried
to serialize it to xml stream and pass it to dataset but I'm sure if it's
the easier way. Any suggestion?
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com