Determining Content Type in ASP

The Response.ContentType property allows one to tell the browser which type of HTTP content is included in the server's response, for instance, text or an image. If ContentType is not set the default is text/html. A foreign application like MS Word can also be used. Other ContentType settings are image/gif and image/jpeg. Note that ContentType can only be set prior to the use of document content. Surely there must be other ways to display images. How would web pages contain different content types on a single page when retrieving from a database. This is not a cool way of doing things. The ContentType property should generally be set under the following circumstances.

*At this stage the Image ContentType option and its purpose does not make sense.