How do it? I spent 20 minutes searching it, but finded how to query a command, but is buggly. I use System.Data.SQLite
try
{
SQLiteConnection cnn = new SQLiteConnection(label2.Text);
cnn.Open();//Error is here!
SQLiteCommand cmd = cnn.CreateCommand();
cmd.CommandText = textBox1.Text;
cmd.ExecuteNonQuery(); MessageBox.Show("Query is good!");
cnn.Close();
}
catch (SQLiteException ee)
{
MessageBox.Show(ee.Message);
}