mercredi 27 janvier 2016

Insert query not working with column names,

its working only for name like..

db.execSQL("INSERT INTO newtable(name) VALUES ('"+name1+"');");

i want to insert these values db.execSQL("INSERT INTO newtable(name,father,city,number,anything) Values('" + name1 + "','" + father1 +"','"+city+"','"+number1+"','"+anything1+ "') ;");

Aucun commentaire:

Enregistrer un commentaire