DataTable To CSV Activity

Description:

Converts a DataTable to a comma-separated values (CSV) formatted string.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.AsyncCodeActivity
Geocortex.Workflow.Activities.DataTableToCsv

Function:

This activity allows you convert a DataTable containing arbitrary data into CSV format.

In a Workflow:

You would use this activity to create the content of a CSV file that you wish to make available for download.

Properties:

Name Description

In Arguments

DataTable

The DataTable containing the data to convert.

Delimiter

The delimiter string used to separate values. If not specified the default is ",".

Use Column Aliases

Use column aliases of the DataTable in place of column names, where applicable.

Misc

Display Name

DataTableToCsv

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Out Arguments

Result

The CSV formatted output.

Version Information:

Supported from: Geocortex Essentials 3.8.