在webform1.aspx中,response的contentType对吗?
' Clear out the existing HTTP header information
Response.Expires = 0
Response.Buffer = TRUE
Response.Clear ' Change the HTTP header to reflect that an image is being passed.
Response.ContentType = "image/gif"
'.......
Response.BinaryWrite DataReader("imageCol")
Response.End
' Clear out the existing HTTP header information
Response.Expires = 0
Response.Buffer = TRUE
Response.Clear ' Change the HTTP header to reflect that an image is being passed.
Response.ContentType = "image/gif"
'.......
Response.BinaryWrite DataReader("imageCol")
Response.End
问题解决了!!!!
非常感谢,及时给分!!!!