Select few fields in QueueItems and convert to Datatable

@vijayakumarkj

please try this

first use build datatable and create a datatable with 3 columns and name it dt

dt = queueitems.Select(function(x) refdt.Rows.Add(New Object(){x.Reference,x.SpecificContent("FirstName").ToString,x.SpecificContent("LastName").ToString})).CopyToDataTable

Hope this helps

cheers

1 Like