aedan

aedan

  • NA
  • 1
  • 1.5k

How to convert any type of files to be viewed as HTML in C#.net

Oct 4 2012 1:28 PM
I have a byte array which is the file content from db .I need to display any type of file as HTML  .
ex: if its a plain.txt finally on click of a button in the gridview it should go the html page and display the contents in html irrespective of file type.

TIA,
aedan