1
Answer

How can i write a response.binarywrite to a string

Vivekh

Vivekh

13y
2.4k
1

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)