Skip to content Skip to sidebar Skip to footer

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 = newString []{ 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"