How about using something like this:
Public Function ByteArrayToString(ByVal bytArray() As Byte) As String
Dim UTF8 As New UTF8Encoding()
Return UTF8.GetString(bytArray)
End Function
--
Hope this helps,
Bryant Hankins
Numinet Systems Inc.
http://www.numinet.com
"Paul W" <> wrote in message
news: om...
> How do I do this with: Option Strict On?
>
> I know of the function System.Text.ASCIIEncoding.GetChars, but that
> takes a Byte array not a DataRow. So with Option Strict On, how do I
> take the byte array in my DataRow, convert it to Text and display it
> on my web page without saving the info to disk inbetween?
> MemoryStream? Give in and set Option Strict Off?
>
> Thanks for any help,
>
> Paul W (Using VB FW1.1)