原项目已上传到github
long f = dbdatabase.update("user", values, "id=?", new String[]{String.valueOf(strid)});
dbdatabase.delete ("user","id=?",new String[]{String.valueOf(strid)});
Cursor cs= dbRead.query("user", new String[]{"name","password","phone","email","sex"},"id"+"="+strid1,null,null,null,null);
注意根据表主键id查询时,id虽然是Int但是后面可以字符串类型,系统会自动转换