ReportViewer.WriteXlsxTo(HttpResponse, XtraReport) Method
Exports the report to the XLSX format, and writes the output to the specified HTTP response. An XtraReport object should be passed to this method as a parameter.
public static void WriteXlsxTo( HttpResponse response, XtraReport report )
Public Shared Sub WriteXlsxTo( response As HttpResponse, report As XtraReport )
A HttpResponse object specifying the HTTP response to which the file should be written.
An XtraReport object to be represented as an XLSX file.
The stream generated by this method contains the XLSX representation of the report, and will be written to the specified HttpResponse object.
To learn more, refer to Export to XLSX.