Dim ioStream As New MemoryStream(byteArray.Length)
If byteArray.Length = 78 Then
ioStream.Write(byteArray, 78, byteArray.Length - 78)
Else
ioStream.Write(byteArray, 0, byteArray.Length - 0)
End If
I want to create the condition to check (String.Length) for image from Northwind and image from My Files. but I didn't know how to create that. I have to try like above code but it didn't work.