MSWord : Response.ContentType = "application/vnd.ms-word"; MS Excel : Response.ContentType = "application/vnd.ms-excel";
Response.ContentType = "application/pdf"
response.ContentType is A string describing the content type. For a full list of content types, see your browser documentation or the HTTP specification.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)