View Single Post
Old April 16th, 2006, 07:32 AM
itHighway itHighway is offline
Friend of Wrox
Join Date: Oct 2004
Location: , , .
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default Download file in HTML format

Hello -

To explain my question I use the following example:

================================================== ==========
<% Response.ContentType = "application/msword" %>

<table width="100%" border="0">
    <td>My Content</td>
================================================== ==========

If you execute the above example it will open a download window and download the file as word document.
However I want to download the file as HTML document. What should be the "Content Type" to download the file as HTML.

Thank you,
Zeeshan Ahmed