Get only column names from the datatable

Hey @Chirag12 ,
YourDT.Columns will return you the column names in an array

Refer below thread too

Hope it helps you !