title: unrecognized token: "4eL2" c# SQLITE
body: <p>My problem is that I'm trying to store a image .tif in a sqlite database, I convert the image in base64String, but in the moment to execute the query give an exception </p>
  
  <p>"SQL logic error or missing database
  unrecognized token: "4eL2""</p>
  
  <p>HERE is my code:</p>
  
  <pre><code>Bitmap bitmap =(Bitmap)System.Drawing.Image.FromFile(@"C:\Users\myuser\Desktop\Images\myimage.TIF");
  ImageConverter converter = new ImageConverter();
  byte [] b =  (byte[])converter.ConvertTo(bitmap, typeof(byte[]));
  string base64String = Convert.ToBase64String(b);
  SaveImage(base64String);
  
  void SaveImage(string pic)
          {
              string query = "insert into mytable (date, imagen) values (2014, "+pic+");";
              string conString = @" Data Source = C:\Users\myuser\Documents\Visual Studio 2012\Projects\images.sqlite3";
              SQLiteConnection con = new SQLiteConnection(conString);
              SQLiteCommand cmd = new SQLiteCommand(query, con);
  
              con.Open();
              try
              {
                  cmd.ExecuteNonQuery();
              }
              catch (SQLiteException exc1)
              {
                  MessageBox.Show(exc1.Message);
              }
              con.Close();
          }
  </code></pre>