I need to capture data from each row and each column and pass them to a webpage based on column name.
So in this example i just want to extract 1st row data and pass them in webpage
You need to use For each row in Datatable activity to loop through the rows
Steps
Read range activity and store them in a datatable variable
For Each row in Datatable
Let’s say you want the first column value to be entered in 1st type into activity, You need pass in the text field as “CurrentRow(“A”).ToString” it will get you A column values
So follow for all the columns “CurrentRow(“B”).ToString” and etc so that you can get all the values row wise
There is something you can do here, but it will involve making the UI Selection dynamic as well.
First, loop For Each row in DataTable, then nest another For Each which will loop For Each item in ItemArray like so:
I am not exactly sure how you are detecting the individual text fields, but if I were you, I would use the Index from the For each itself for the column/row indexes in the UI.