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: sqlcon = 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:   sqlcon = new SQLiteConnection (@ "Data Source = DBcode.db; Version = 3; Read Only = True;");

Thank you kindly for bringing me your help

0
edit delete
are you sure?
asked AGO KOUAME BERTRAND

0 answers

Post an answer but please login first

Post Answer
  1. Please login to post answer

Similar Questions

Tagsfor this question

Forumall questions