db.execSQL("CREATE TABLE vod (。。。。。。。,SongNameSpell VARCHAR,SongNameSpell1 VARCHAR,SongNameSpell2 VARCHAR)");
然后 我插入信息时
ContentValues cv1 = new ContentValues();
cv1.put("SongNameSpell", "aaa");
这样是没有问题的 当
cv1.put("SingerNameSpell1", "bbb");
时后台就会打印出
SQLiteLog: (1) table vod has no column named SingerNameSpell1
请问这是什么原因!!!!!!!!
cv1.put("SingerNameSpell1", "bbb"); 你这个SingerNameSpell1 跟你表的字段名称SongNameSpell1 不一样啊
cv1.put("SingerNameSpell1", "bbb"); 你确定你table表里有这个SingerNameSpell1字段名么,还有就是字段名最好不要带有数字