GridControl.ExportToTextOld(String) Method

Obsolete. Exports the data displayed by the GridControl.DefaultView (the GridControl.MainView or the currently maximized detail View) to the specified file in TXT format.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

[Obsolete("Use the ExportToText method instead")]
public void ExportToTextOld(
    string fileName
)
<Obsolete("Use the ExportToText method instead")>
Public Sub ExportToTextOld(
    fileName As String
)

Parameters

Name Type Description
fileName String

A string that specifies the full path to the file to which the View's data will be exported.

Remarks

This method is obsolete. Although the ExportToTextOld method can still be used in your applications to export data, we recommend you use the GridControl.ExportToText method instead. Note that the GridControl.ExportToText requires the XtraPrinting Library to be available.

The ExportToTextOld method calls the BaseView.ExportToTextOld method for the Default View. The default View is specified by the GridControl.DefaultView property. See the BaseView.ExportToTextOld topic for more information.

See Export Overview for general information on exporting data.

See Also