开发者

How to return base64Binary from a webservice request (VB.net)?

开发者 https://www.devze.com 2023-01-29 03:59 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消