Hey guys am trying to automate a process, in which I have to read files from a txt doc and write and store it in a datatable. And there are 7 columns in it and if the txt file does not contain those 3 columns out of 7 we must add the column in the datatable. However am able to add the column names but am getting extra columns “Column1” ,“Column2”, “Column3” . along with the actual column name.
- this is when I manually remove the 3 column names
- actual output
Also, please let me know what exactly happened,and why those unwanted columns were added