Dear sir,
This is sulochana, am new to develop an windows phone app here am trying to connect SQLite database for login credentials but am unable to connect the SQLite database.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
sulochana gPosted Aug 22, 2014, 12:07 AM
Guest UserPosted Aug 21, 2014, 7:50 AM
sulochana gPosted Aug 21, 2014, 7:22 AM
sulochana gPosted Aug 21, 2014, 5:18 AM
Guest UserPosted Aug 20, 2014, 8:21 AM
Dim path1 = "C:\windowsphoneapp\Sample.sqlite"
and is this sqllite exception thrown after above statement
sulochana gPosted Aug 20, 2014, 8:18 AM
I tried this tutorial while establishing the connection from app this type of error msg its showing
A first chance exception of type 'SQLite.Net.SQLiteException' occurred in SQLite.Net.DLL.
Guest UserPosted Aug 20, 2014, 7:24 AM
Dim path1 = "C:\windowsphoneapp\Sample.sqlite"
replace "C:\windowsphoneapp\Sample.sqlite" with your machine path where Sample.sqllite exists
try it and let me know, if it's establishing connection or not.
sulochana gPosted Aug 20, 2014, 7:19 AM
I tried this article and i had created sqlite database in SQLitemanager and i read the connection string like this
Dim path1 = Path.Combine(Path.Combine(ApplicationData.Current.LocalFolder.Path, "Sample.sqlite"))
connection = New SQLiteConnection(New SQLitePlatformWP8(), path1)
when i read the connection its coming the different path and its shows an error msg path is not defined.
Guest UserPosted Aug 20, 2014, 7:07 AM
http://khatrishashank.wordpress.com/2013/12/05/windows-phone-8-app-with-sqlite/