I have been trying to figure out how to transport binary data through Xml
to a web service that will upload this binary data to a sql server database.

I am able to do this if I connect directly to the database from my web app
and use executeNonQuery to send the binary data. What I am looking for is a
way to transport binary data through xml in .NET. I have been able to find
examples using the MSXML parser but I do not want to use that parser. It
shows this as the example on how to convert to binary data.

oElement.dataType = "bin.base64"

I have found Encoding.ASCII.EncodingName but this seems to only be for
culture type.

How do I encode a binary object to base64 so I can pass it to an XML
document.

Thanks

JJ

Reply via email to