Skip to main content

PivotGridExtension.OLAPExportToCsv(PivotGridSettings, String, Stream, CsvExportOptions) Method

Exports the pivot grid’s data to CSV format, based on the provided settings. Used only in an OLAP mode.

Namespace: DevExpress.Web.Mvc

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

Declaration

public static void OLAPExportToCsv(
    PivotGridSettings settings,
    string connectionString,
    Stream stream,
    CsvExportOptions exportOptions
)

Parameters

Name Type Description
settings PivotGridSettings

A PivotGridSettings object that contains PivotGrid settings.

connectionString String

A String that specifies the connection string to an OLAP cube.

stream Stream

A Stream object to which the data is exported.

exportOptions CsvExportOptions

A CsvExportOptions object that provides export options.

See Also