Hi,
I've a DataTables I need to convert to a new one.
The data are local loaded one and also I get more datas from a web service to one DT in memory.
Now I need to copy the data to an other DT but some records are duplicate.
There's a field called 'State' and value 1 has a higher priority than 0.
E.g.
Row0:
ID = 4711
Name = Test
State = 0
Row1:
ID = 4711
Name = Test
State = 1
In this case I like to get 4711 from Row1 as State has the higher priority there.
What do you suggest to copy my data into a new table excluding the duplicates with low priority?
Thanks,
Andre
Open in new window