更新时间:2022-10-15 16:03:02
You can find some suggestions on this post - tutorials for Windows Forms[^]
I had a bad experience withlocalDB
too, couldn't get it working.
If you can manage without a real database, and don't have lot's of data, you could useXML
to store your data.
My database of choice at the moment isPostgreSQL
in combination withNpgSql
in C#, it is not as bloated asSQL Server
, runs on different platforms, and there is even a portable version.
An alternative might beSQLite
, here is a tutorial: Windows 10 Development SQLite Database[^]