Skip to main content

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

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static void WriteCsv(
    GridViewSettings settings,
    object dataObject,
    Stream stream,
    CsvExportOptions exportOptions
)

Parameters

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