本文转自:http://hi.baidu.com/netlmz/blog/item/326c644fa919a9cdd1c86a11.html
原文如下:
下载最新版SQLite(http://www.sqlite.org/download.html),其他版本也可以,目前版本是sqlite-3_6_6_1
a.解压后copy c:/sqlite-3_6_6_1
b.进入cmd模式,进入sqlite-3_6_6_1目录,执行sqlite3 mytest.db
c.create table test (seq int,desc varchar(8));insert into test values (1,'item');资料建立完成
2.下载System.Data.SQLite(http://sqlite.phxsoftware.com/),安装,安装后里面会有详细的DEMO和文档。请详细查看。
3.将mytest.db复制到Bin/Debug目录下。
3.打开VS2005,参考System.Data.SQLite安装目录下的System.Data.SQLite.DLL
using Syste