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,759
  • 4
  • 32
  • 44

4 Answers4

4

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

Community
  • 1
  • 1
MPelletier
  • 16,256
  • 15
  • 86
  • 137
2

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

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

ShahidAzim
  • 1,446
  • 1
  • 10
  • 15
1

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

tanasi
  • 1,804
  • 6
  • 37
  • 53
0

SQL Lite or MS SQL Compact, both are free.

Michael
  • 518
  • 5
  • 13