Categories
Latest
Popular

Export ASP HTML to Excel,Image,Channel Definition Format (CDF).

 

The ContentType property specifies the HTTP content type for the response. If no ContentType is specified, the default is text/HTML.

Syntax
Response.ContentType [=ContentType]

[=ContentType] can be of the followings

<% Response.ContentType = “application/x-cdf” %>

<% Response.ContentType = “text/HTML” %>
<% Response.ContentType = “image/GIF” %>
<% Response.ContentType = “image/JPEG” %>
<% Response.ContentType = “text/plain” %>
<% Response.ContentType = “image/JPEG” %>