Page 1 of 1

SQLite Database Create

Posted: Fri May 27, 2016 1:32 am
by Antonvdbank
Hi,

Using iX Developer 2.20 SP1, I need to create a new database file and tables in SQLite. This is what I have used for creating the database but does not work:

string databasefile = "myDB.db";
SQLiteConnection.CreateFile(databasefile);
SQLiteConnection conn = new SQLiteConnection(string.Format("Data Source={0}", databasefile));

Please advise.

Regards, Anton

Re: SQLite Database Create

Posted: Wed Aug 24, 2016 9:38 am
by wlederer
I created a SQLite database with SQLite Expert program, copied on SD-card and inserted to T7A panel. Works fine.
Do You want to create the database in the internal memory?