How can I add to the collection?

Hello, How can I add the “UserID” like below when I add it to the collection?

i.e) (Current(0) or dt_user(0)?)

Thank you in advance.

Hi @rudgns99

Currentrow(0).Tostring

Regards,
Kaviyarasu N

CurrentRow(“UserID”).toString

keep in mind: as the list is re-initialized so for each loop it will be reset and and only the current looped user is present within.

1 Like

getting a list with all users we can do it within an assign directly:

Assign activity:
User_List = dtUser.asEnumerable.Select(Function (x) x("UserID").toString.Trim).toList

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