The requested page is not available for the requested platform. You are viewing the content for Default platform.

ReportViewer.WriteXlsTo(HttpResponse, XtraReport) Method

Exports the report to the XLS format, and writes the output to the specified HTTP response. An XtraReport object should be passed to this method as a parameter.

Namespace: DevExpress.XtraReports.Web

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

Declaration

public static void WriteXlsTo(
    HttpResponse response,
    XtraReport report
)
Public Shared Sub WriteXlsTo(
    response As HttpResponse,
    report As XtraReport
)

Parameters

Name Type Description
response HttpResponse

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

report XtraReport

An XtraReport object to be represented as an XLS file.

Remarks

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