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

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public PivotFileDataSource(
    string fileName
)

Parameters

Name Type Description
fileName String

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

Remarks

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