Back to Devexpress

ASPxGridBase.ExportCsvToResponse Method

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

latest1.1 KB
Original Source

ASPxGridBase.ExportCsvToResponse Method

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