Can't Assign String [] to DataRow []


I have this list of excel file that I need to store to a variable which is DataRow. How Can I do that without changing the variable type of TransactionData? TransactionData is a DataRow. This gives me error:

Hi @Gus_Fring

You can try this approach

Build a data table


Assign Transaction Data


(From r in Directory.GetFiles("FilePath") Select dt_FilePath.Rows.Add(r)).ToArray

Refer the xaml

StringArrToDataRowArr.xaml (5.8 KB)