Get column name from first row in DataTable


#1

I have a DataTable. In 1st row name of columns. How to make it (first row) name of columns and delete first row?


#2

@11155 do you want to copy other rows except headers ha?


#3

Hi @11155,

So from where you are getting the datatable?
if you are getting the datatable from the excel sheet you have the property Add header so use that one.

use for each activity to loop through the data add the column

refer this one

Regards,
Arivu


#4

I get datatable from data scraping (web site).


#5

Which version of uipath are you using.

In latest version you can change the while scrapping itself i hope.


#6

I use UiPath 2018 Studio 2018.1.4