How to connect to a SQLite database in iphone
Posted
by Lee
on Stack Overflow
See other posts from Stack Overflow
or by Lee
Published on 2010-05-06T15:37:02Z
Indexed on
2010/05/07
8:28 UTC
Read the original article
Hit count: 260
I am attempting converting an application from VB6 to an iphone app.
In the VB version, the database is in Access. But, I have read that I need to convert it to SQLite.
How I amend the following code to switch from Access to SQLite?
cnList = new ADODB.Connection();
rsList = new ADODB.Recordset();
cnList.Provider = "Microsoft.Jet.OLEDB.4.0;";
cnList.ConnectionString = "Persist Security Info=False;"+CString("Data Source=cbe.mdb");
cnList.Open();
© Stack Overflow or respective owner