## SaveCSVFile(string) {#savecsvfile_1}

Saves data to a CSV file.

```csharp
public void SaveCSVFile(string targetFile)
```

| Parameter | Type | Description |
| --- | --- | --- |
| targetFile | String | The file's name. |

### See Also

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

---

## SaveCSVFile(Stream) {#savecsvfile}

Saves data to a CSV file stream.

```csharp
public void SaveCSVFile(Stream stream)
```

| Parameter | Type | Description |
| --- | --- | --- |
| stream | Stream | The file stream. |

### See Also

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


