/**
* 删除数据
*/
private void deleteData() {
String deleteSql="delete from Student Where _id = ?";
Object[] objs=new Object[]{"3"};
mSQLiteDatabase.execSQL(deleteSql,objs);
}
查看下数据库数据
/**
* 删除数据
*/
private void deleteData() {
String deleteSql="delete from Student Where _id = ?";
Object[] objs=new Object[]{"3"};
mSQLiteDatabase.execSQL(deleteSql,objs);
}
查看下数据库数据