public void WriteBlock(int rowIndex, int colIndex, int rowCount, int colCount, object dataBlock) { _excelRange = _excelSheet.get_Range(GetExcelAddress(colIndex, rowIndex), _value); _excelRange = _excelRange.get_Resize(rowCount, colCount); _excelRange.set_Value(_value, dataBlock); }
public void WriteBlock(string startCellAddress, int rowCount, int colCount, object dataBlock) { _excelRange = _excelSheet.get_Range(startCellAddress, _value); _excelRange = _excelRange.get_Resize(rowCount, colCount); _excelRange.set_Value(_value, dataBlock); }