Skip to main content
A newer version of this page is available.

VerticalGridExtension.WriteCsv(VerticalGridSettings, Object, Stream, CsvExportOptionsEx) Method

Exports the VerticalGrid’s data to a stream in CSV format with the specified export options.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static void WriteCsv(
    VerticalGridSettings settings,
    object dataObject,
    Stream stream,
    CsvExportOptionsEx exportOptions
)

Parameters

Name Type Description
settings VerticalGridSettings

A VerticalGridSettings object that contains VerticalGrid settings.

dataObject Object

An object representing the VerticalGrid’s data source.

stream Stream

A Stream object to which the data is exported.

exportOptions CsvExportOptionsEx

A CsvExportOptions object that provides export options.

See Also