Hi,
I have six columns in my excel “A”, “B”, “C”,"D, “E”,“F”
I need to remove duplicates from the column “A” but still have all the six columns as output in the data table. How can I achieve that?
Hi,
I have six columns in my excel “A”, “B”, “C”,"D, “E”,“F”
I need to remove duplicates from the column “A” but still have all the six columns as output in the data table. How can I achieve that?
Try this in assign
Dt = Dt.AsEnumerable.GroupBy(function(x) x(0).ToString).Select(function(x) x.First).CopyToDataTable
Cheers
@Anil_G , may I know what is “x” here?
It worked!!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.