Android内置数据库sqlite执行insert,单引号报错问题的解决
摘要:转载请注明出处,谢谢~http://www.cnblogs.com/iOcean/archive/2012/03/02/2377648.html1.问题描述SQLiteDatabase mDB = this.getWritableDatabase();String insertStr = "insert into mTable(id,name,age,phone) values(1,'iOcean's','80','110')";mDB.execSQL(insertStr);注:数据可能是server拿来的数据,为说明
阅读全文
posted @
2012-03-02 18:43
iOcean
阅读(4447)
推荐(1)