I need help ,
I have a table with only 3 records and I am trying to update one of them only,
I am trying the SQL command using an SQLite browser and it works prefectly
But when I use the same exact SQL in C# the program freezes ( No exceptions to errors just freezes ).
this is the lines:
query = new SQLiteCommand();
query.CommandText = "UPDATE athletes SET finishing_time = 123123123 WHERE epc = 'E2:00:30:73:99:02:01:31:16:70:6A:A3'";
query.Connection = m_dbConnection;
query.ExecuteNonQuery();
I tried this in a variaty of methods ,
I tried SQLite Parameters ,
I tried string fromatting and I also tried the direct approach as in above.
they all leaded to the same problem , Program FREEZES.
This is my first time with sqlite and c#.
So I hope I can find a help here.
UPDATE: I waited about 3 to 4 minutes after freezing , I get exception database is locked.