A newer version of this page is available. Switch to the current version.

ReportViewer.WriteXlsTo(HttpResponse) Method

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll


public void WriteXlsTo(
    HttpResponse response
Public Sub WriteXlsTo(
    response As HttpResponse


Name Type Description
response HttpResponse

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


The stream generated by this method contains the XLS representation of the report, and will be written to the specified HttpResponse object.

To learn more, refer to Export to XLS.

See Also