摘要:
近日有需要写点C#程序,有用到Dataset数据集和SQLite数据库,由于我从来就不擅长记各种编程语言的语法,所以在查阅一堆资料后,留下以下内容备忘:一、SQLite操作,直接贴代码,很简单://创建一个数据库文件stringdatasource=Application.StartupPath+"\\test.db";System.Data.SQLite.SQLiteConnection.CreateFile(datasource);//连接数据库System.Data.SQLite.SQLiteConnection conn =newSystem.Data.SQLite 阅读全文