SQLite Database Create

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
Antonvdbank
Posts: 1
Joined: Fri May 27, 2016 1:14 am

SQLite Database Create

Post 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

wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

Re: SQLite Database Create

Post 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?

Post Reply