public string queueAll() { var columns = new [] { KEY_CONTENT }; Cursor cursor = sqLiteDatabase.query(MYDATABASE_TABLE, columns, null, null, null, null, null); var result = new java.lang.StringBuilder(); int index_CONTENT = cursor.getColumnIndex(KEY_CONTENT); for (cursor.moveToFirst(); !(cursor.isAfterLast()); cursor.moveToNext()) { result.append(cursor.getString(index_CONTENT)).append("\n"); } return(result.ToAndroidString()); }
public string queueAll() { var columns = new [] { KEY_CONTENT }; Cursor cursor = sqLiteDatabase.query(MYDATABASE_TABLE, columns, null, null, null, null, null); var result = new java.lang.StringBuilder(); int index_CONTENT = cursor.getColumnIndex(KEY_CONTENT); for (cursor.moveToFirst(); !(cursor.isAfterLast()); cursor.moveToNext()) { result.append( cursor.getString(index_CONTENT)).append( "\n"); } return result.ToAndroidString(); }