0

I want to store data in my WPF application. For example: the user writes his name in text box in the loading of the application. I want to show him the last name that he entered the text box, after he exists my application and restarts it.

I don't want to use a database, I want to create some kind of cookie that will saved locally on the client computer.

Tal Malaki
  • 422
  • 5
  • 18
  • `How to store data in WPF?` - WPF is a Presentation Framework. It has nothing to do with data. Use a database, an XML file, app.settings file, or any other data storage means, but this is in no-way related to WPF itself. – Federico Berasategui Jun 10 '13 at 19:47
  • If you dont got that much data, you can story it in the application's `Settings`: http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx – Florian Gl Jun 10 '13 at 19:59