Hi there, I am trying to read all of the files in a folder and output the files into a datatable. From searching the forum I understand how to get the filename of the current one in the loop but am having trouble finding out how to add filename to a datatable so I will have a list of all files in a folder. Please see image for conversion error I do not know how to resolve.
Please let me know if there is a better approach to add all of the files in a folder to a datatable. Thank you in advance.