db = dbHelper.getWritableDatabase();
cursor = db.query("one_clock_book", null, null, null, null, null, null);// 查询第一个表
if ( cursor != null )
{
if ( cursor.getCount() != 0 )
{
if ( cursor.moveToFirst() )
{
do
{
。。。。。。。
}
} while (cursor.moveToNext());
}
cursor.close();// 关闭游标
}