Hi,
Could you teach me if I need to convert my excel table from Horizontal to Vertical.
What Activities suitable for my issue? (Incase my data over 100 rows.)
Thanks!
*remark: it’s ok if result of vertical data without ColumnA ( ID01,NAME01,DEPT01,POSITION01,ID02 …)
Build a datatable with two columns and of string type and name as newdt
Use for each row in datatable and loop original table dt
Use another for each activity inside with in argument as dt.Columns and change type argument yo column( in new activity type argument is auto configured)
Inside the second loop use add datarow activity with datatable as newdt and array row as {currentitem.ColumnName + currentRow(0).ToString,currentrow(currentitem.ColumnName).Tostring}