ASPxGridExporterBase.WriteCsvToResponse(String, Boolean, CsvExportOptions) Method
In This Article
Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public void WriteCsvToResponse(
string fileName,
bool saveAsFile,
CsvExportOptions exportOptions
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String value that specifies the target file name. |
save |
Boolean |
|
export |
Csv |
A Csv |
#Remarks
Note
Before exporting a grid, the ASPx
See Also