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