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

GridViewExtension.WriteXls(GridViewSettings, Object, Stream, XlsExportOptions) Method

Obsolete. Exports the grid's data to a stream in XLS format with the specified export options.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

[Obsolete("Use another overload of this method instead.", true)]
public static void WriteXls(
    GridViewSettings settings,
    object dataObject,
    Stream stream,
    XlsExportOptions exportOptions
)
<Obsolete("Use another overload of this method instead.", True)>
Public Shared Sub WriteXls(
    settings As GridViewSettings,
    dataObject As Object,
    stream As Stream,
    exportOptions As XlsExportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
stream Stream
exportOptions XlsExportOptions
See Also