Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML hexBinary to byte[]
Message
Information générale
Forum:
ASP.NET
Catégorie:
XML
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2000 Server
Divers
Thread ID:
01165151
Message ID:
01165530
Vues:
14
>So try a conversion first.
>
>>L<

I already did and that doesn't work either. This is what I did:
SoapHexBinary hb = SoapHexBinary.Parse(ASCIIEncoding.ASCII.GetString(hexBinary));
I get a parse error message.

The issue seems to be that the hexBinary looks quite different in the property PayLoad from what is in the Payload element. However, when I write the dataset to an XML file using WriteXML method of the dataset. The content of Payload is correct. My goal, in doing all of this to get what is in the PayLoad into a string unchanged.
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform