views:

430

answers:

2
A: 

(Not sure if you're still struggling with this but anyway...)

I'm pretty sure it's not the IEnumerable interface but the actual drop down that is causing this behaviour. The code is being used as the key, and so obviously each time the same code is encountered, the item is being overwritten.

I don't think you can override this unless you change the code, or use another identifier as the key field in the dropdown.

Mladen Mihajlovic
A: 

You may want to add a try-catch block around dataServiceQuery.EndExecute(asyncResult) to properly handle errors.

Marc