我的db文件代码是
public boolean insertUpdatedContact(String email1,String newpass){
db=this.getWritableDatabase();
ContentValues args = new ContentValues();
args.put(COLUMN_PASS,newpass);
int i= db.update(TABLE_NAME,args,COLUMN_EMAIL + "=" + email1, null);
return i > 0;
}
和.java文件的代码是
helper.insertUpdatedContact(e,np1str);
Toast.makeText(this, "Modified Successfully",Toast.LENGTH_SHORT).show();
helper.close();