I want to create array


I want to create array of all values from single row.

@Anil_G @supermanPunch @Sudharsan_Ka
I want to create like this
ArrayStr → (Blue, Pink, Black, White)

ArrayStr1 → (Green, Yellow, Pink, Red)

The forum search feature works great.

HI @pravin_bindage

If you loop into these values you can use like

CurrentRow.ItemArray

Regards
Sudharsan


I was trying this i’m getting this error - DataRow () can not converted to DataRow
@Sudharsan_Ka

No need of {} there @pravin_bindage , try without it

kindly note:

  • from a DataRowVar.ItemArray access you will get returned an Array of Objects - Object()
  • when using this within an add datarow the input argument - ArrayRow is to use

Don’t put {CurrentRow} put just CurrentRow

Only CurrentRow isnt working

Do you have this in a For Each Row in Datatable loop?

What are you trying to do? Where are you getting the row data?

we mentioned

Use this in the Array Row , No need {} @pravin_bindage

He can just put CurrentRow into the DataRow property. No need to convert to array.

URL.xlsx (9.1 KB)

In this excel there are many url which i need to open each url from every row by row & save image of that url with unique name which also given in excel at last column of each row.
Image names to be save
For 1st row - IMIBED-HD-00001_1 , IMIBED-HD-00001_2,…, IMIBED-HD-00001_6
For 2nd row - IMIBED-HD-00002_1 , IMIBED-HD-00002_2,…, IMIBED-HD-00002_6
.
.
.
Till last row same process
@postwick @Anil_G @Sudharsan_Ka @supermanPunch @Yoichi @sangeethaneelavannan1

will throw an exception, when doing it

as a datarow has a navigation property to its holding DataTable (Property name: Table) it is recognized to which datatable the datarow belongs

Interesting, I didn’t know that. Good catch!