## PutValue(DateTime) {#putvalue_3}

将 DateTime 值放入单元格中。

```csharp
public void PutValue(DateTime param_date)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| param_date | DateTime | 输入值 |

### 也可以看看

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

---

## PutValue(string) {#putvalue_5}

将字符串值放入单元格中。

```csharp
public void PutValue(string param_string)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| param_string | String | 输入值 |

### 也可以看看

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

---

## PutValue(object) {#putvalue_4}

将对象值放入单元格中。与 setValue(Object param_object) 相同

```csharp
public void PutValue(object param_object)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| objectValue | Object | 输入值 |

### 也可以看看

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

---

## PutValue(int) {#putvalue_2}

将一个 int 值放入单元格中。

```csharp
public void PutValue(int param_int)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| param_int | Int32 | 输入值 |

### 也可以看看

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

---

## PutValue(string, bool, bool) {#putvalue_7}

将一个值放入单元格中，如果合适，该值将转换为其他数据类型，并且单元格的数字格式将被重置。

```csharp
public void PutValue(string stringValue, bool isConverted, bool setStyle)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| stringValue | String | 输入值 |
| isConverted | Boolean | True：如果合适，转换为其他数据类型。 |
| setStyle | Boolean | True：在转换为其他数据类型时将数字格式设置为单元格的样式 |

### 也可以看看

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

---

## PutValue(string, bool) {#putvalue_6}

将字符串值放入单元格中，并在适当时将该值转换为其他数据类型。

```csharp
public void PutValue(string stringValue, bool isConverted)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| stringValue | String | 输入值 |
| isConverted | Boolean | True：如果合适，转换为其他数据类型。 |

### 也可以看看

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

---

## PutValue(bool) {#putvalue}

将布尔值放入单元格中。

```csharp
public void PutValue(bool param_boolean)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| param_boolean | Boolean | 输入值 |

### 也可以看看

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

---

## PutValue(double) {#putvalue_1}

将双精度值放入单元格中。

```csharp
public void PutValue(double param_double)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| param_double | Double | 输入值 |

### 也可以看看

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

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