1
 string dbConnectionString = @"Data Source=/Worklight_Sqlite_cplusplus/common.db3;Version=3;New=False;Compress=True;";
        SQLite.SQLiteConnection sqliteCon = new SQLite.SQLiteConnection(dbConnectionString);
        sqliteCon.Open();

我使用此代码尝试在 Windows 8 应用程序中打开 sqlite 连接,但出现此错误!

错误 1“SQLite.SQLiteConnection”不包含“Open”的定义,并且找不到接受“SQLite.SQLiteConnection”类型的第一个参数的扩展方法“Open”(您是否缺少 using 指令或程序集引用?)

有谁知道发生了什么?

4

0 回答 0