Skip to main content

PivotFileDataSource(String) Constructor

Initializes a new instance of the PivotFileDataSource class, and loads pivot grid data from the specified file.

Namespace: DevExpress.Data.PivotGrid

Assembly: DevExpress.PivotGrid.v22.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public PivotFileDataSource(
    string fileName


Name Type Description
fileName String

A String that specifies the name of the file from which to load data.


After the PivotFileDataSource object has been created, assign it to pivot grid’s PivotGridControl.DataSource property, to pass the data to the Pivot Grid Control.

To restore pivot grid data from a stream, use another overload of the constructor that takes a Stream parameter.

See Also