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

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

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