Looping through column and write in particular row

you can use the for each activity to loop through the columns of datatable just change the TypeArgument as System.Data.DataColumn and use if condition and in that if condition use this List.contains(item.ToString)