第一頁 返回 繼續 最後一頁 摘要 圖形

使用資料庫(一)

SQLiteDatabase db=SQLiteDatabase.openOrCreateDatabase(dbfile,null);

String str="select id,name,tel,addr,x from main order by id;";

cursor = db.rawQuery(str, null);