How to convert iEnumerable into datatable

@divya.17290 ,

Modifying it a bit to add the namespace, could you check the below expression :

Newtonsoft.Json.Linq.JArray.FromObject(YourGetQueueItemsOut.Select(Function (x) x.SpecificContent).toArray).toObject(Of DataTable)

Could have also performed a Import from the Import Panels which should able us to use the Expression suggested earlier :
image

1 Like