zoukankan      html  css  js  c++  java
  • SQLite简单使用说明

    System.Data.SQLite.dll下载地址

    http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki

    选择.netFrawork版本

    x64SQLite.Interop.dll 目录

    x86SQLite.Interop.dll 目录

    sqlite3.dll

    System.Data.SQLite.dll

    System.Data.SQLite.dll 添加引用到 项目里

    x64和x86目录 拷贝到 bin 目录下

    引用 ADP.DBHelper.dll

    private    static string path = AppDomain.CurrentDomain.BaseDirectory + @"DBSCDB.db";
    public  static string ConnectionString= "Data Source=" + path  + ";Version=3;";
    public   static string ProviderName = "System.Data.SQLite";

    在Web.config app.config文件添加

    <system.data>
    <DbProviderFactories>
    <remove invariant="System.Data.SQLite"/>
    <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
    </DbProviderFactories>
    </system.data>

    SQLite GUI管理工具

    sqliteStudio(20M)

    http://sqlitestudio.pl/?act=about

    SQLiteSpy(4M)

    http://www.yunqa.de/delphi/products/sqlitespy/index

    SQLite Admin 免费

    http://sqliteadmin.orbmu2k.de/

  • 相关阅读:
    MySQL too many connections
    【MySQL】 清除等待连接
    wmic 获得系统硬件信息
    Linux 修改用户名
    初步了解虚拟化
    MySQL show 语句
    php去除bom
    jq闭包
    git
    地址收藏
  • 原文地址:https://www.cnblogs.com/z_lb/p/5328831.html
Copyright © 2011-2022 走看看