downloading blob data using MemoryStream

Dec 14 2006 11:38 AM
 I have followed the example in the link below to download blob files stored SQL SERVER.

http://www.c-sharpcorner.com/UploadFile/jhblankenship/DownloadingFromMemStream11262005060834AM/DownloadingFromMemStream.aspx?ArticleID=9e576b21-a422-4517-a827-3bbba08b4aec 


I have a problem however because when i download a text file, the ASP.NET page source gets appended to the original file.

I also suspect that this is happeing to other file types, (images and word) since the filesize is increasing, although i can still open them and see no visual difference. I would expect that some form of corruption could occur, but apperently not.

any input on this problem pls?