In my database i have a field whose datatype is BLOB.I use this field to store HTML formatted text (i.e texts enclosed in html tags etc). I want to fetch this binary data and render the contents in a WebBrowser control of C# windows form. I am using the code below but its just showing 'System.Byte[]' in the webbrowser control.
            if(rdr9e.Read())
            {
                byte[] byt = (byte[])rdr9e["q_r_desc"];
                MemoryStream ms = new MemoryStream();
                ms.Write(byt, 0, byt.Length);
                ms.Position = 0;
                webBrowser1.DocumentStream = ms;
            }
Here 'q_r_desc' is the field containing binary data.My question is how do i show binary data using webbrowser control.Any help with code would be highly appreciated.
 
     
     
    
