SimpleCursorAdapter必须要一个_id字段
private void pudata() {
//cursor=sdb.query("books", new String[]{"id","bookname","price"}, null, null, null, null, null);
SQLiteQueryBuilder sqb=new SQLiteQueryBuilder();
sqb.setTables(
原创
2012-05-30 00:06:52 ·
2704 阅读 ·
1 评论