2

I am trying to make a portable (as in to run from a pen drive without and installation) C# application which will require a database.

My first thought was SQL, but I understand that SQL would require an SQL server installed. This cannot be guaranteed.

What is my best option here?

Thanks.

Mark
  • 1,689
  • 4
  • 26
  • 44

4 Answers4

4

SQLite. See this question: Is there a .NET/C# wrapper for SQLite? for easy integration.

Community
  • 1
  • 1
MPelletier
  • 15,673
  • 14
  • 84
  • 131
2

You can use SQL CE or SQLLite, both are good.

http://davidhayden.com/blog/dave/archive/2010/07/08/SQLServerCE4SQLite.aspx

ShahidAzim
  • 1,386
  • 1
  • 9
  • 15
1

SQLite, make database and tables with SQLite Administrator - http://sqliteadmin.orbmu2k.de/, and put it in application folder.

Ivan Tanasijevic
  • 1,698
  • 6
  • 35
  • 53
0

SQL Lite or MS SQL Compact, both are free.

Michael
  • 508
  • 5
  • 13