How can I convert an xml to a datatable?

One of many options:

  • prepare an empty DataTable with build datatable
  • loop over the item elements
  • extract the fields and add all to the datatable

As it is soap have a look here on how to handle XML Namespaces

When needed we can also highly dynamize the datatable preparation and population

1 Like