sqlite在vs2005中的使用报错
在vs2005中引用了using System.Data.SQLite;
定义了一个连数据库连接变量public SQLiteConnection dBConn;
就报下面这个错误了.
The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
谁知道这个错误怎么解决啊
没人给我顶啊。。。。。。。。。。。。。。。。。。。。。。。。。
需要添加一个引用,using System.Data.SQLite; 或者是sqlhelper.dll
using System.Data.Common;
这些我都添加了sqlhelper.dll没有
using System.Data.SQLite和using System.Data.Common;都有
sqlhelper.dll还要添加吗?
那里可以下载?
sqlhelper 我是网上找的类 ,,我也用的sqllite 引用 sqllite.net 之后就没有问题了
那我也试下sqlhelper.dll
sqlhelper.dll只包含了一些基本的数据库执行方法啊
5楼的是怎么用的
能具体说清楚点吗?
问题升级了,能给答案的加分!!!!!!!!!!!!!!!!!
相关问答:
delphi连接Sqlite 增删改查例子
数据库已经连通了, 插入会报错,no query specified
with dm.ASQLite3Query1 do
begin
dm.ASQLite3Query1.Close;
dm.ASQLite3 ......
delphi连接Sqlite 增删改查例子
数据库已经连通了, 插入会报错,no query specified
with dm.ASQLite3Query1 do
begin
dm.ASQLite3Query1.Close;
dm.ASQLite3 ......
如下语句 :
select TimeSpan from T_Table where onlineDate = '2009-12-2'
数据库里面有符合条件的值但是查不出来
如果改成如下:
select TimeSpan from T_Table where onlineDate = '200 ......
SQLITE下如何删除内容中的第一个<br>
SQLITE下不好用
提示:
sqlite error
no such function: stuff
怎么解决?
SQL code:
--------------------------------------------- ......
程序代码如下:
sqlTime = "select SUM(onlineTimeSpan) from T_OnlineTimeSum where ipAddress = :a AND onlineDate BETWEEN :b AND :c";
  ......