## GridCells.CopyRows method

Copies data and formattings of some whole rows.

```csharp
public void CopyRows(GridCells sourceCells, int sourceRowIndex, int destinationRowIndex, 
    int rowNumber)
```

| Parameter | Type | Description |
| --- | --- | --- |
| sourceCells | GridCells | Source Cells object contains data and formattings to copy. |
| sourceRowIndex | Int32 | Source row index. |
| destinationRowIndex | Int32 | Destination row index. |
| rowNumber | Int32 | The copied row number. |

### See Also

* class [GridCells](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


