1
Reply

How can i write a response.binarywrite to a string

Vivekh

Vivekh

Jun 24 2011 10:02 AM
2.4k

I am having my data saved in my database as Longblob and while saving i am converting it to bytes and saving now while retrieving we can have that data by writing as follows

 Byte[] bytes = (Byte[])dt.Rows[0]["Data"]; 
                   
Response.BinaryWrite(bytes); 

But what i need is i need that data in bytes to be represented as string is it possible


Answers (1)