摘要: 今天搞了一天的MVC,在显示图片的时候老是出现问题,从网上搜索了好久,才找到解决方法。首先是创建一个类,继承于ActionResult,记住要引用System.Web.Mvc命名空间,如下:public class ImageResult : ActionResult { public ImageFormat ContentType { get; set; } public Image image... 阅读全文
posted @ 2010-05-20 21:16 新方向新思路新生活 阅读(4706) 评论(3) 推荐(2) 编辑