System.IO.MemoryStream ms = new System.IO.MemoryStream();
image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
Response.ClearContent();
Response.ContentType = "image/Jpeg";
Response.BinaryWrite(ms.ToArray());上面的代码是什么意思呀?我需要将C#代码编写的柱状图,输出到table表的一个特定位置,请问如何实现?现在输出地柱状图占据了整个页面。
image.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
Response.ClearContent();
Response.ContentType = "image/Jpeg";
Response.BinaryWrite(ms.ToArray());上面的代码是什么意思呀?我需要将C#代码编写的柱状图,输出到table表的一个特定位置,请问如何实现?现在输出地柱状图占据了整个页面。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货