System.Data.SQLite只能支持SQLite3
而SQLite.NET wrapper就仅仅支持SQLite2
简直相得益彰:
http://www.dc9.cn
SQLiteClient db = new SQLiteClient(@"C:\xampp\htdocs\x2.db");
SQLiteResultSet srs=db.Execute("INSERT INTO Table01 (Field02) VALUES ('xxx')");
ArrayList x = db.GetAll("SELECT rowid,Field02 FROM Table01");
foreach (string r in x)
{
Console.WriteLine("\t" + r);
}
I simply want to mention I am all new to blogging and site-building and absolutely enjoyed you’re web site. More than likely I’m want to bookmark your blog post . You actually come with perfect articles and reviews. Thanks a lot for revealing your website.
I’m still learning from you, while I’m making my way to the top as well. I definitely liked reading all that is posted on your website.Keep the stories coming. I loved it!