SQLite .net

来源:互联网 发布:男人知天命之年说说 编辑:程序博客网 时间:2024/04/20 02:36

SQLiteDataReader  需要 using

否则其他无法读取


而且 sqlite 判断表是否存在应该:


string.Format("select count(*) from sqlite_master where tbl_name='{0}'" , strTable);


tbl_name


不是什么 table!!!


原创粉丝点击