LinQ query or any other solution for converting first row of datatable as a haeder

As i understand maybe you can do it like this:

use write range activity and write the headerless datatable into an excel file,
then use read range. this way you can use add headers property.

this can be a dumb method but it should work