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

GridViewExtension.WriteCsv(GridViewSettings, Object, Stream, CsvExportOptions) Method

Obsolete. Exports the grid's data to a stream in CSV format.

Namespace: DevExpress.Web.Mvc

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

Declaration

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

Parameters

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