Preview a files before downloading it in asp.net
<p>I need to preview a file before downloading it.My application is build in asp.net, In my application I have multiple files of any format(.xls,.pdf,.doc,.jpg etc) which being uploaded by admin, User can download all the files which are being uploaded by admin. I want a option for user to preview a file before he download.</p>

<p>The files are being uploaded some where in hard disk, how could i read the content of file and show it to the user?</p>

<p>Please help me</p>
