How to extract values from a certain number of columns and concatenate them in a single string

hello to the whole community.

Today I would like to face a problem that has been afflicting me for a long time hahah:smile::sweat_smile:
in practice i would need to extract values from different columns of a datatable.
But the problem is not this but the next step, which is to save all the data extracted eight a single string.

Has any of you ever met this problem? I would be very grateful if you could give me a hand.

Thank you

1 Like

Hi,

The data you are extracting, put them into collection or list.

Refer the below Post for how to add the items to the collection and use a for each loop through the collection and append the items.

1 Like