Vivekh

Vivekh

  • NA
  • 10
  • 25.2k

How can i write a response.binarywrite to a string

Jun 24 2011 10:02 AM

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)