Add DataTable Column <T> Activity

Description:

Adds a DataColumn to a DataTable.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.AddDataTableColumn

Function:

This activity provides a simple mechanism to add a new DataColumn to an existing DataTable.

In a Workflow:

You would use this activity to add a new column of data to an existing DataTable before using the DataTable with an activity such as DataTable To XLSX.

Properties:

Name Description

In Arguments

Column Name

The name of the DataColumn to add.

DataTable

The DataTable to add the DataColumn to.

Expression

The expression to assign values to the added DataColumn.

Index

The (zero-based) index where you want to add the DataColumn. If not specified the DataColumn will be added at the end.

Misc

Display Name

AddDataTableColumn

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

DataColumn

The resulting DataColumn that was added.

Version Information:

Supported from: Geocortex Essentials 4.4.