Want to print contents from System.io.memorystream

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sagark
    New Member
    • Jan 2009
    • 12

    Want to print contents from System.io.memorystream

    Hello All,

    Need Help.

    I have some contents in System.io.memor ystrean object. I want to prite these contents on to page with something like response.write( ..) but I am unable to print the contents from memory stream. Any idea?
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Read the data from the MemoryStream and then Write them?

    Comment

    • sagark
      New Member
      • Jan 2009
      • 12

      #3
      Yes. I want to read the data and then want to write it on the page. But dont know the way.

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Look at the msdn help for it. MemoryStream is just a stream, you read from it like any other stream.

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          What is in your MemoryStream?

          Pure text?
          HTML text?
          An Image?
          Some other type of file?

          Comment

          Working...