iRobo.Activity.Create DataTable
Creates a DataTable.
Properties
Input
- Column Names - enter Column names within {}, for example: {"id","name","age"}.
- Rows - enter Rows values within {}, for example: {"1","john","20"}.
- Type Names - enter Data Types within {}, for example: {"int32","string","string"}.
Misc
- DisplayName - Activity header name.
Output
- DataTable - DataTable Variable for Output data.
Steps of Using Create DataTable Activity
- Open iRobo Studio, and then open a new Workflow.
- Drag Create DataTable Activity to the Sequence.
- Create a DataTable Variable and add it to Output.
- In VB Expression, enter the created DataTable Variable.
- In VB Expression, enter Column names within {}; for example: {"id","name","age"}.
- In Type Names in Input, enter the Data Types in {}; for example: {"int32","string","string"}.
- Click the Save button from iRobo Studio Menu to save Workflow.
- Click the Play button to start the automated process.
Example of Using Add Data Row Activity
Here you can see how to use Add Data Row Activity with other activities.
- Open iRobo Studio, and then open a new Workflow.
- Drag Create DataTable Activity to the Sequence.
- Create DataTable Variable in Output.
- In VB Expression, enter the created DataTable Variable.
- In VB Expression, enter Column names within {}; for example: {"id","name","age"} as shown in the image below.
- In Array Row, enter data to be entered in the defined Columns in the VB Expression. For example: {"1","John","20"}.
- In Type Names in Input, enter the Data Types in {}; for example: {"int32","string","string"}.
- Drag Add Data Row Activity to the Sequence.
- Add either Array Row or Data Row in Input.
- Create DataTable Variable to add data in it.
- Drag Append DataTable to Word Activity to the Sequence.
- Select Word file from Activity button.
- In Argument, put theDataTable Variable created in Create DataTable Activity as shown in the image below.
- Click the Save button from iRobo Studio Menu to save Workflow.
- Click the Play button to start the automated process, DataTable is added to the specified Word file.
Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation