2

Can we embed database to application in C#.net/vb.net?

4
  • 3
    @samsol: stop saying "c#.net". It makes you sound ignorant. Commented May 28, 2010 at 11:32
  • Yes we can embed datebase to appliaction in C#/BN.NET. Commented May 28, 2010 at 11:34
  • @TcKs: Yes is an answer, not a comment. Commented May 28, 2010 at 12:30
  • @Walter: It is correct answer to asked question, but is useless. I wanted point to the wrong question. Commented May 28, 2010 at 15:38

5 Answers 5

6

You can use serverless RDBMS such as SQL Server Compact or SQLite.

Sign up to request clarification or add additional context in comments.

Comments

2

Sure if you put SQLite file as a resource (embedded) you could then run that file in memory stream (I think) of write it out as a file on runtime and delete it when closing down.

.NET SQLite Wrapper/dll

Comments

2

Yes. You can use SqlLite or VistaDB and store the db file as an assembly reource and extract the db file upon first run in the same directory where primary executable is residing.

Comments

2

If your planning of using Sqlite and you should, I recommend you use this provider http://sqlite.phxsoftware.com/ (it's open source) with good support from an active community.

Comments

1

You can use Firebird Embedded. It is free software. There are .NET Data Provider for it.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.