Skip to main content

ReportViewer.WriteXlsxTo(HttpResponse) Method

Exports the report to the XLSX format, and writes the output to the specified HTTP response.

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

public void WriteXlsxTo(
    HttpResponse response
)

Parameters

Name Type Description
response HttpResponse

A HttpResponse object specifying the HTTP response to which the file should be written.

Remarks

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.

See Also