I have a SQLite DB designed using "SQLite Database Browser 2.0 b1" I have used the System.Data.SQLite.
I am using Visual Studio 2010, and have added my DB in the Resources and this is my connection string
sql_con = new SQLiteConnection("Data Source="+CryptoFile.Properties.Resources.Database1+".db;Version=3;New=False;Compress=True;");
it preforms
mySQLconnection.Open();
with no problems it opens the Database... However .. when I try to process/Execute a Query the following line:
SQLiteDataReader reader = sql_cmd.ExecuteReader();
causes this Error ... what might be causing the problem ?
SQLite error
no such table:..Tablename
cause the connection is used over and over the connection part is in 1 function returns the value to SQLite Connection in other forms, so don't bother with the namings here I have used the Finisar.SQLite... and all the code has worked before ...but because I couldn't publish the project with the database I have used the System.Data.SQLite