I need to delete the specific record from sqlite. But following code not able to delete it.
Please give me some hint.
public void delete(String Id)
{
try {
db.delete(MySQLiteHelper.TABLE_NAME, "Id=?",
new String[] { Id.toString() });
}
catch(Exception e) { ... }
}
try like this: