Bind Data after TCP receive.
Posted
by gtas
on Stack Overflow
See other posts from Stack Overflow
or by gtas
Published on 2009-11-27T16:28:19Z
Indexed on
2010/04/19
23:03 UTC
Read the original article
Hit count: 326
I have this strange problem all day now. I dunno if you handled something similar. I used two different serializers and now i know its not this problem.
Im sending some data over TCP Sockets. Serialize -> Send -> Deserialize,
everything works ok, i can get my objects search through them, use they're properties!
But, if e.g receive a BusinessObject[]
and convert into List<BusinessObject>
, then bind
the list in a Control.DataSource = businessObjectList;
BOOM! NotSupportedException
.
Tried it with 3 different controls. Same behaviour. My head is empty of ideas right now!! The Send TCP happens on Desktop Framework, Receive on Compact Framework. But i dont think this has to do with anything.
I wish for an explanation on this!
© Stack Overflow or respective owner