## InsertRows(int, int, bool) {#insertrows_1}

在工作表中插入多行。

```csharp
public void InsertRows(int rowIndex, int totalRows, bool updateReference)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rowIndex | Int32 | 行索引。 |
| totalRows | Int32 | 要插入的行数。 |
| updateReference | Boolean | 指示是否将更新其他工作表中的引用。 |

### 也可以看看

* class [GridCells](../../gridcells)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridcells)
* 部件 [Aspose.Cells.GridWeb](../../../)

---

## InsertRows(int, int) {#insertrows}

在工作表中插入多行。

```csharp
public void InsertRows(int rowIndex, int totalRows)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| rowIndex | Int32 | 行索引。 |
| totalRows | Int32 | 要插入的行数。 |

### 也可以看看

* class [GridCells](../../gridcells)
* 命名空间 [Aspose.Cells.GridWeb.Data](../../gridcells)
* 部件 [Aspose.Cells.GridWeb](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
