G
Guest
Hi!
I have a webservice which queries a table in SQLServer. The table has a
column, "Text", which is of datatype "image". When invoking the webmethod it
returns dataset with the table included. The column is returned as a
base64binary as can be seen in the declaration excerpt below:
<xs:element name="text" type="xs:base64Binary" minOccurs="0" />
When I call the webservice and loops through the rows I see that the column
"text" is represented as a bytearray as well. What I'd like to do is to
convert this bytearray into an "ordinary" string. Please note that it must
work in a .Net Compact Framework environment. I've tried a number of
approaches but none has worked so I feel a little bit "lost in binary space".
Hope you can help me!
/Peter
I have a webservice which queries a table in SQLServer. The table has a
column, "Text", which is of datatype "image". When invoking the webmethod it
returns dataset with the table included. The column is returned as a
base64binary as can be seen in the declaration excerpt below:
<xs:element name="text" type="xs:base64Binary" minOccurs="0" />
When I call the webservice and loops through the rows I see that the column
"text" is represented as a bytearray as well. What I'd like to do is to
convert this bytearray into an "ordinary" string. Please note that it must
work in a .Net Compact Framework environment. I've tried a number of
approaches but none has worked so I feel a little bit "lost in binary space".
Hope you can help me!
/Peter