|
<img src = "showimg.aspx">
Write in showimg.aspx
byte [] bytes = null; //
// this time
Get bytes code
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); |
|