Hi, i struggle whit rename different columns.
I would like to name the columns 1-7 specifically how do I achieve this?
(From d In DT_aus_PDF.AsEnumerable
Where System.Text.RegularExpressions.Regex.IsMatch(d(“Column2”).ToString,“([0-9]{8})”)
Where Not d(“Column3”).ToString=“”
Select d).CopyToDataTable().DefaultView.ToTable(False, “Column1”,“Column2”,“Column3”,“Column4”,“Column5”,“Column6”,“Column7”)
Hi, the table is from a PDF, in it the value is only as a string and is converted by generate Data Table. Then adjusted via the Linq command so that the output format is correct.
The only thing missing are the correct column headings, as these are only output as default values.