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


public PivotFileDataSource(
    string fileName
Public Sub New(
    fileName As String


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