public int getRowCountForBlock(int block) {int startIndex = block * DBCellRecord.BLOCK_SIZE;int endIndex = startIndex + DBCellRecord.BLOCK_SIZE - 1;if (endIndex >= _rowRecords.size())endIndex = _rowRecords.size()-1;return endIndex-startIndex+1;}
public int GetRowCountForBlock(int block){int startIndex = block * DBCellRecord.BLOCK_SIZE;int endIndex = startIndex + DBCellRecord.BLOCK_SIZE - 1;if (endIndex >= _rowRecords.Count)endIndex = _rowRecords.Count - 1;return endIndex - startIndex + 1;}