Hello,
I have a problem in SQLite.
First open database :
If File.Exists(File.DirDefaultExternal , DBName) = False Then
If FirstTime Then
File.Copy(File.DirAssets, DBName, File.DirDefaultExternal, DBName)
sql1.Initialize(File.DirDefaultExternal , DBName, True)
End If
Else
If FirstTime Then
sql1.Initialize(File.DirDefaultExternal , DBName, True)
End If
End If
Then I update a table, close activity, open activity and changes are OK.
But when I close application and open again I have lost the changes.
¿can anybody help me?
Thank you
I have a problem in SQLite.
First open database :
If File.Exists(File.DirDefaultExternal , DBName) = False Then
If FirstTime Then
File.Copy(File.DirAssets, DBName, File.DirDefaultExternal, DBName)
sql1.Initialize(File.DirDefaultExternal , DBName, True)
End If
Else
If FirstTime Then
sql1.Initialize(File.DirDefaultExternal , DBName, True)
End If
End If
Then I update a table, close activity, open activity and changes are OK.
But when I close application and open again I have lost the changes.
¿can anybody help me?
Thank you