How to convert any type of files to be viewed as HTML in C#.net
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