Printing data in the same DataTable sequentially

resim_2023-09-23_203626219

The data in the picture is located in a DataTable variable.

tl2

I want it to select from this field one by one, but it only selects the first data, not the other data. How can I do that?

@tolgademir

Please use a for each row in datatable and then peform click on eqch of it

Another way is you have select multiple items with passing a list of items dt.AsEnumerable.Select(function(x) x(0).ToString).ToList will create list of all items in first column

Cheers

It processes the number of data but still does not write different data.

After IZMIR data, it was supposed to switch to BAYINDIR, BERGAMA data, but it did not.

@tolgademir

Can you please show what you are trying in the code

Cheers

Hi

If you want to select multiple rows from a drop-down based on the records in a a datatable column then u can try directly with SELECT MULTIPLE ITEM in UiPath

U can pass the value u want to select as a list or array to this select item activity

This has got an example as well

Hope this helps

If u r looking for some other procedure let us know

Cheers @tolgademir

I solved the problem by revising the data I received from the loop as row1(1).ToString

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.