|
发表于 2020-1-25 09:36:01
|
显示全部楼层
<img src="showimg.aspx">
在showimg.aspx中写上
byte[] bytes = null;//
//这时
取得bytes的代码
System.IO.MemoryStream ms = new System.IO.MemoryStream();
ms.Write(bytes,0,bytes.Length);
Bitmap bmp = new Bitmap(ms);
bmp.Save(Response.OutputStream,System.Drawing.Imaging.ImageFormat.Jpeg);
|
|