open html file from database to new browser

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have saved HTML files in the database (stored as image/binary datatype). I
need to pull them back and open into a new browser. What's the best way to
do this?
 
Puhonien:

<a href="documentViewer.aspx?fileId=3" target="_blank">Html File Name</a>

then documentViewer.aspx reads the FileId from the Querystring, fetches the
appropriate document from the database and outputs it, say via literal.Text
= content

Karl
 
Back
Top