comparing collection

Malligai

Member
Hi ,

Am having 2 collections now. One is with some 20-30 items. Another collection(source collection) may have 700-900 items. I have to retrieve the common date into output collection, and mismatched item also i have to add into the source collection.

Easy understanding :
sample collection : 20-30 rows (only one column)
Source collection : 700-1000 (only one column)

Result needed : checking the sample collection values into the source collection. If the value is found, then it should drop in ouputcollection, if it is not macthes, then it should go and add those value into source collection.

Please assist to get this.
 
Top