Add elements from string array to DataRow of a DataTable


#1

I have a String[100]{} array called Names. My goal is to take each element of the array and add it to DataRow of a DataTable .

I have tried Names(index) into ‘Add Data Row’ but it doesn’t work.

How do I go about transposing all the columns of Names into adding elements of data row.
Thanks,