using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Finisar.SQLite;
namespace data_get
{
public partial class Form1 : Form
{
public Form2()
{
InitializeComponent();
}
private void add_Click(object sender, EventArgs e)
{
SQLiteConnection sqlite_conn;
SQLiteCommand sqlite_cmd;
SQLiteDataReader sqlite_datareader;
sqlite_conn = new SQLiteConnection("Data Source=dataDb.db;Version=3;New=False;Compress=True;"))
sqlite_conn.Open();
sqlite_conn.Close();
}
}
}
〜在" sqlite_conn.Open()上获得错误;"
错误:
未处理的类型' Finisar.SQLite.SQLiteException'发生在SQLite.NET.dll
其他信息:不支持的文件格式