Best way to store values in .Net Compact Framework using C#?
I have a WinForm application and I have many forms in my application .
These forms have some properties which I want to save when the form is closed and when i again load
the forms, I want to populate form properties.
I know some techniques like XmlSerialization or I can write my own xml files to store values.
But I want expert advice to do this in the best way on Compact framework .
What you all expert think cou开发者_如何学Pythonld be the best way to store and retrieve data ?
How about SqlLite or similiar?
I'd use the existing serialisation mechanisms rather than rolling your own. If small disk footprint is important, use the binary serializer, if human readability is important use the XML one.
Perhaps you could use .ini files? Smaller than .xml since its just text, but less of it.
精彩评论