Android : Error no such table while running in android

on Thursday, September 11, 2014


i am now created a database and i had created a table called GAME with fields...i wrote select query for this table to check field existence....while running my code for accessing the table it shows no such table exception.....i have created that table in SQlite manager not in code..i dono why this error showing...the database contains table in assets folder....please explain why this error.....please help me.....thanks in advance



objdatabase.rawQuery("SELECT ADMIN_ACCESS_CODE,ACCESS_CODE FROM GAME WHERE ADMIN_ACCESS_CODE='"+strPassword+"'", null);

0 comments:

Post a Comment