Datatable Activity Help

Hi @ppadarthi

Use the below LINQ:

nameList = (From row In dt.AsEnumerable() Select row.Field(Of String)("Name")).ToList()

nameList is of DataType System.Collections.Generic.List(System.String)

You can use below expression to print in Message box:

String.Join(", ", nameList)

Hope it helps!!

4 Likes