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.2.dll

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