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

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Create DataTable Activity to the Sequence.
  3. Create a DataTable Variable and add it to Output.
  4. In VB Expression, enter the created DataTable Variable.
  5. In VB Expression, enter Column names within {}; for example: {"id","name","age"}.
  6. In Type Names in Input, enter the Data Types in {}; for example: {"int32","string","string"}.
  7. Click the Save button from iRobo Studio Menu to save Workflow.
  8. 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.


  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Create DataTable Activity to the Sequence.
  3. Create DataTable Variable in Output.
  4. In VB Expression, enter the created DataTable Variable.
  5. In VB Expression, enter Column names within {}; for example: {"id","name","age"} as shown in the image below.

  1. In Array Row, enter data to be entered in the defined Columns in the VB Expression. For example:  {"1","John","20"}.
  2. In Type Names in Input, enter the Data Types in {}; for example: {"int32","string","string"}.
  3. Drag Add Data Row Activity to the Sequence.
  4. Add either Array Row or Data Row in Input.
  5. Create DataTable Variable to add data in it.
  6. Drag Append DataTable to Word Activity to the Sequence.
  7. Select Word file from Activity button.
  8. In Argument, put theDataTable  Variable created in Create DataTable Activity as shown in the image below.

  1. Click the Save button from iRobo Studio Menu to save Workflow.
  2. 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