I’m building a WPF app that contains a form with “standard” inputs (controls like TextBoxes, RadioButtons,etc). If I need to store the form’s data locally, what do you think is the most straightforward way to do it ?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I would say XML-serialization is most straightforward, it requires no additional database and your average CLR-objects can be serialized right away. I use it for settings files and other stuff but would not recommend it for huge datasets because of all the overhead (cannot really tell you what qualifies as too large, it also depends on how often you need to store/retrieve the data).