System.Data.SQLite.dll下载地址
http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki
选择.netFrawork版本
x64SQLite.Interop.dll 目录
x86SQLite.Interop.dll 目录
sqlite3.dll
System.Data.SQLite.dll
System.Data.SQLite.dll 添加引用到 项目里
x64和x86目录 拷贝到 bin 目录下
引用 ADP.DBHelper.dll
private static string path = AppDomain.CurrentDomain.BaseDirectory + @"DBSCDB.db";
public static string ConnectionString= "Data Source=" + path + ";Version=3;";
public static string ProviderName = "System.Data.SQLite";
在Web.config app.config文件添加
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite"/>
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
</DbProviderFactories>
</system.data>
SQLite GUI管理工具
sqliteStudio(20M)
http://sqlitestudio.pl/?act=about
SQLiteSpy(4M)
http://www.yunqa.de/delphi/products/sqlitespy/index
SQLite Admin 免费
http://sqliteadmin.orbmu2k.de/