The following code gets the images name on page load:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Dim getImg As New GetImage.SoapClient
Dim ImageService As New Service.serviceClient
Dim imageName As String = ImageService.getImgName(imageID)
Dim binaryImage As Byte() = getImg.getImgDisplay(imageName )
Image123.ImageUrl = "data:image/png;base64," & imageName
End If
End Sub
<asp:Image ID="Image123" runat="server" Visible="true" />
In the following line of code I have received the image name "imageName":
Dim binaryImage As Byte() = getImg.getImgDisplay(imageName )
How can I display this on HTML as it is a byte?