Back to Devexpress

ASPxGridView.ExportCsvToResponse Method

aspnet-devexpress-dot-web-dot-aspxgridview-dot-exportcsvtoresponse.md

latest2.7 KB
Original Source

ASPxGridView.ExportCsvToResponse Method

NameParametersDescription
ExportCsvToResponse(CsvExportOptions)exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(CsvExportOptionsEx)exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(Boolean, CsvExportOptions)saveAsFile, exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(Boolean, CsvExportOptionsEx)saveAsFile, exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String, CsvExportOptions)fileName, exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String, CsvExportOptionsEx)fileName, exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String, Boolean, CsvExportOptions)fileName, saveAsFile, exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String, Boolean, CsvExportOptionsEx)fileName, saveAsFile, exportOptionsExports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.