Word document

Results 1 to 2 of 2

Thread: Word document

  1. #1
    Join Date
    Dec 1969

    Default Word document

    In an asp page is this possible to display the content retrieved from the database in a word document rather than displaying it in a html format. That means if i retirieve some data from database and display them in a word document instead of HTML format so that users can save the document with .doc extension rather than .html extension.<BR><BR>I don&#039;t know whether this is possible or not. Any article or help will be appreciated very much.

  2. #2
    Join Date
    Dec 1969

    Default ContentType

    Before writing any HTML to the page, set the Response.ContentType property to Word&#039;s content type. I don&#039;t know what it is, but it&#039;s been asked, answered and stated like a million times on the messageboard.<BR><BR>Then, just return regular HTML.<BR><BR>-Doug

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts