No. The output stream can only contain one file. Either it is a page
(containing text) or a binary file (like an image).
If you write the text first then the image, it will all be interpreted
as text. If you write the image first then the text, the text will end
up as garbage at the end of the image file.
[quoted text, click to view] John Hopper wrote:
> Hello,
>
> If I
>
> Response.Write("hello")
>
> before I
>
> image2.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif)
>
> then I see miscellaneous characters where the image should be.
>
> When I reverse the order of the statements above then I don't see the text
> at all.
>
> Is there any way to mix text and image in the outputstream?
>