Hi!
The solution for this case was to cast into a string (varchar(255)). This works, but the string is to small. The maximum for varchar is 8000 (this is also functional) or varchar(max), the serialization error raises on varchar(max) or native the datatype "text". In my sql-server there are fields with html-text (and embedded picures inside), i need to display and edit this fields in my tablet application. The varchar(8000) is often to small.
best regards
Hagen