Prova a mettere
...
Response.Buffer = True
'Response.ContentType = "Image/JPEG"
Response.AddHeader("Content-Disposition", "attachment;filename=blob.txt")
Response.ContentType = "application/text"
Response.BinaryWrite(MyData)
MyCB = Nothing
ds = Nothing
da = Nothing
con.Close()
con = Nothing
'Prova a mettere questo ... il comando flush dovrebbe inviare il buffer al client
Response.Flush()
...
Peace
Gvnn
http://www.gvnn.it
http://www.sqlwebarchitect.org
http://blogs.dotnethell.it/gvnn/