Hi
- You have to first add reference to SQLite.NET.dll to your project.
- Add using Finisar.SQLite;
- Declare private field
private SQLiteConnection
sql_con;
- sql_con = new SQLiteConnection
("Data Source=DemoT.db;Version=3;New=False;Compress=True;");
here version=3 is the version of database engine.
Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you.