1.安装好sqllite
2.下载system.data.sqlite.dll
选择对应平台的框架版本
System.Data.SQLite: Downloads PageSystem.Data.SQLite: Downloads Page
3.C#操作sqlite
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SQLite;
namespace connectSQLite
{
public partial class Form1 : Form
{
string connectionString = "data source=" +