ExportToCSV Method

Exports the grid data to a csv file.

Syntax

Public Function ExportToCSV(ByVal FileName As String, Optional ByVal ExportRowHeader As Boolean = False, Optional ByVal ExportColumnHeader As Boolean = False, Optional ByVal ExportHiddenRowColumn As Boolean = False) As Boolean

Applies To

Grid Object

Parameters

The following parameters are available:

Parameter Description
FileName Path and name of the CSV file to create.
ExportRowHeader A boolean value that identifies whether to export the row header.
ExportColumnHeader A boolean value that identifies whether to export the column header.
ExportHiddenRowColumn A boolean value that identifies whether to export the hidden rows and columns.

Return Type

True if successful; otherwise, False.

See Also

SaveFile Method