Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SQLite Database Create
PostPosted: Fri May 27, 2016 1:32 am 

Joined: Fri May 27, 2016 1:14 am
Posts: 1

Offline
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


 Profile  
 
 Post subject: Re: SQLite Database Create
PostPosted: Wed Aug 24, 2016 9:38 am 

Joined: Fri Jan 27, 2012 4:20 am
Posts: 161

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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: