Add DataTable Row Activity

Description:

Adds a DataRow to a DataTable.

Inheritance Hierarchy:

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

Function:

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

In a Workflow:

You would use this activity to add a new record of data to an existing DataTable before using the DataTable with an activity such as DataTable To XLSX. You can use the Create Collection <T> or Create List <T> activities to assemble a list of column values to apply to the row.

Properties:

Name Description

In Arguments

DataTable

The DataTable to add the DataRow to.

Index

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

Values

The list of column values to assign to the DataRow. If not specified an empty DataRow will be created.

Misc

Display Name

AddDataTableRow

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

DataRow

The resulting DataRow that was added.

Version Information:

Supported from: Geocortex Essentials 4.4.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11