E
E
estry2020-06-06 22:57:14
WPF
estry, 2020-06-06 22:57:14

How to save application data?

Hello. There is an application on WPF. When you launch it, enter data, close it, then the next time you start it, you need to enter the data again, because. are neither saved.

Found in the vastness of the info that you need to use app.config.

I can't deal with him. Do I need to create an XML file in the application itself in the studio? What lines to add there? What else to write in the code? Please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2020-06-07
@estry

You can use JSON and a library from Newtonsoft. They have quite a few examples on their site, you can use Sqlite for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question