
SQLite
bj890
asp.net
展开
-
c# 操作Sqlite数据库
声明变量 System.Data.SQLite.SQLiteCommand cmd = new System.Data.SQLite.SQLiteCommand(); System.Data.SQLite.SQLiteConnection conn = null; string sql = ""; string value = "";原创 2013-05-02 13:34:16 · 1351 阅读 · 0 评论 -
File opened that is not a database file file is encrypted or is not a databa
事件:c#打开SQLite 数据提示File opened that is not a database file file is encrypted or is not a databa;原因:在sqlite3.dll的版本,与sqlite3.lib库文件版本不一致。导致无法打开文件。解决方法:下载新版本的sqliteadmin.exe,直接在里面创建新的SQLite库。原创 2013-05-02 12:42:50 · 9913 阅读 · 1 评论