You have helped me in this post and all good. Thank you
But now business wants to add document, Date, CurrentDate columns from inputsheet. I am not sure how to do that
Expected output
How do i add document,Date,current date in below code?
dt = dt.AsEnumerable.Where(Function(r) not String.IsNullOrEmpty(r(“Language”).ToString)).GroupBy(Function(r) r(“Key”).ToString).Select(Function(g) g.OrderByDescending(Function(r) arr.Contains(r(“Language”).ToString)).First).CopyToDataTable
Also document,Date,current date in this code?
dt = dt.AsEnumerable.Select(Function(r) dt.Clone.LoadDataRow({r(0),r(1),r(2),Cint(r(2))+2},False)).CopyToDataTable()