karthi vimala

karthi vimala

  • NA
  • 49
  • 51.1k

how to convert binary file to a file in a text format(i.e)readable format

Mar 3 2011 6:51 AM
hi,

  when i insert the word file to the table i convert in to the binary data and then insert it now i want to retrieve the data and convert it into a string in a readable format,

already i used coding like this :System.Text.ASCIIEncoding.ASCII.GetString(bytes) but it didn't work.

when i retrieve the binary data using filestream and display in a word file i got a correct answer in this i used word.application class.

but now i want to display in a notepad or in a noraml webpage.but it wont work can anyone tell me how can i got the result



Attachment: bytearray.zip

Answers (2)