ExportCSV method

Triggers the operation that exports the data to a CSV file.
Syntax
DataGrid1
.
ExportCSV
(
path
,
name
) As
Boolean
where
DataGrid1
- is the name of a data grid object or an expression that evaluates to a data grid object.
path
- is the absolute path where the CSV file is stored or an expression that evaluates to an absolute path.
name
- is the CSV file name or an expression that evaluates to the CSV file name.
Returns
True
if the exporting operation starts successfully and
False
if the exporting operation is unable to start.
Example
Private Sub ExportDataGridData() DataGrid1.ExportCSV "C:\Users\Public\Documents", "datagrid.csv" End Sub
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal