Android SQlite Not Updating The Data
My DatabaseHandler Class: public class DatabaseHandler extends SQLiteOpenHelper { private static final String LOG_TAG = 'debugger'; //database version private static
Solution 1:
Try this...
String [] value = { Integer.toString(project.getProject_id()) };
Solution 2:
Use this -
String[] value = new String []{ String.valueOf(project.getProject_id()) };
Solution 3:
The project id is of int data type so you should use
int value = project.getProject_id();
Post a Comment for "Android SQlite Not Updating The Data"