Back to Devexpress

ASPxGridBase.ExportToXlsx(Stream) Method

aspnet-devexpress-dot-web-dot-aspxgridbase-dot-exporttoxlsx-x28-system-dot-io-dot-stream-x29.md

latest1.5 KB
Original Source

ASPxGridBase.ExportToXlsx(Stream) Method

Exports the control’s data to the specified file in XLSX (MS Excel 2007) format using the specified options.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public void ExportToXlsx(
    Stream stream
)
vb
Public Sub ExportToXlsx(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A Stream object to which data is exported.

|

Remarks

This method indirectly calls the PrintingSystemBase.ExportToXlsx method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToXlsx method, see the PrintingSystemBase.ExportToXlsx topic.

See Also

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace