c# .NET connected to sqlite
Hello programmer friend I made a program C # .net with visual studio connected to a database sqlite which I made the executable to be able to run it on other pc but the problem is that I can not to save in my database ... here is the error:
Failed to connect to data source attempt to write a readonly database
attempt to write a readonly database ...
Here is the connection code: sql_con = new SQLiteConnection (@ "Data Source = DBcode.db; Version = 3; New =; Compress = True;");
I even added that believing that it would change something but nothing at all:
sql_con = new SQLiteConnection (@ "Data Source = DBcode.db; Version = 3; Read Only = True;");
Thank you kindly for bringing me your help