Back to Devexpress

ASPxGridBase.ExportXlsxToResponse Method

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

latest1.1 KB
Original Source

ASPxGridBase.ExportXlsxToResponse Method

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