btye[] bArry=null; Response.ContentType = "image/jpg" //图片输出的类型有: image/GIF image/JPEG Response.BinaryWrite(bArry);