Macpp
Macpp

Reputation: 33

How to use a C# app with a database on any PC

Is there any way to create a C# app with a database in order to move it on any PC and work without internet connection?

I have had a lot of problems moving my setup on other PCs - evrything is lost from the database when I first run on another PC.

Thank you! And sorry if it is a dumb question I am really new.

Upvotes: 0

Views: 115

Answers (2)

Macpp
Macpp

Reputation: 33

So, thank you all! I found the answer. I have to create a backup of database and restore when i change the system. Here is a link : http://www.codeproject.com/Tips/873677/SQL-Server-Database-Backup-and-Restore-in-Csharp

Upvotes: 0

Cybercartel
Cybercartel

Reputation: 12582

You can try the sqlite database. It's like MySQL but uses files. The library is free and there are many viewers. For small database it's the best and also it's very easy to install and to use.

Upvotes: 2

Related Questions