I'm trying to insert record in sqlite my code is :
tr.ExecNonQuery("INSERT INTO gl (fdesc) VALUES ('" & desc & "')")
fdesc has value = VASANT'S THE SUPER SHOP
Log is : android.database.sqlite.SQLiteException: near "S": syntax error (code 1): , while compiling: INSERT INTO gl (fdesc) VALUES ('VASANT'S THE SUPER SHOP')
tr.ExecNonQuery("INSERT INTO gl (fdesc) VALUES ('" & desc & "')")
fdesc has value = VASANT'S THE SUPER SHOP
Log is : android.database.sqlite.SQLiteException: near "S": syntax error (code 1): , while compiling: INSERT INTO gl (fdesc) VALUES ('VASANT'S THE SUPER SHOP')