BaseView.ExportToHtmlOld(String) Method

Obsolete. Exports the GridControl.DefaultView's data to the specified file in HTML format.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Parameters

Name Type Description
fileName String

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

Remarks

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

The ExportToHtmlOld method Exports the GridControl.DefaultView's data to the specified file in HTML format. When the ExportToHtmlOld method is called for a master View the detail Views will also be exported along with the master View's data. Group rows (in Grid Views) will be expanded in the output.

See Export Overview for more information.

See Also