我有一个简单的表有三个域运行,即使同时 _id 名 电子邮件更新查询不能为Android
我将尝试像
db.execSQL("update contacts set email='"+email+"' where name='"+name+"'");
搜索电子邮件更新记录名称这与查询它不起作用
ContentValues cv=new ContentValues();
cv.put("name",n);
dbase.update(table, cv, "email="+e,null);
我们可以运行一个查询没有主键或这是什么错误。在之前的情况下,应用程序停止运行。 在此感谢任何帮助。
define'not working' – njzk2 2013-02-18 09:06:47
什么不起作用? – 2013-02-18 09:07:50
[** i **不是** I **](http://en.wikipedia.org/wiki/I_(代词))。 – 2013-02-18 09:12:33