请问,我画了一张图,然后用流的方式输出到页面,要如何指定位置,比如放进页面的一个表格中
- C# code
System.IO.MemoryStream ms = new System.IO.MemoryStream(); bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Png); this.Response.ContentType = "image/png"; ms.WriteTo(this.Response.OutputStream); ms.Close();
------解决方案--------------------------------------------------------
你需要这样
<td><img src="show.aspx">
或者
<td><img src="show.ashx">
show.aspx,ashx里面写你的上面那些代码