0
Reply

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

aedan

aedan

Oct 4 2012 1:28 PM
1.2k
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