How to return base64Binary from a webservice request (VB.net)?
How would I return a base64Binary type back from a VB.net web service request?
I would like to return t开发者_JAVA百科he base64Binary of a PDF document from the binary datatype from SQL Server 2008.
Is base64Binary the same as Byte? Do I have to convert the Byte to Base64 then to String?
Thankyou!
<WebMethod()> Public Function ReturnBase64Something() As ??????????
Return ????
End Function
You just return the binary object and .Net does the rest. Simple.
精彩评论