I have a List<Product> that I need to sort (by key) and persistthat sorting, its basically a list of items but the user needs to beable to sort them and save that in the db, does anyone have a snippetor sample?
Thanks
hello.
If the product class is serializable, then i think that you can easily build a classe which inherits from list<product> and implements the iserializable interface. here's an article about serialization in .net:
http://www.15seconds.com/issue/020903.htm
I need to find a clean way to persist it in the db, not a file.
Thanks,
Edgardo
hello.
well, it's almos the same thing. you'll just need to have a column which is capable of savings blobs. by the way, if you want to save the elements in text format, then use the xmlserializer
Showing posts with label beable. Show all posts
Showing posts with label beable. Show all posts
Friday, March 16, 2012
Persist Sorted List
Subscribe to:
Posts (Atom)