MarkLi’blog

学不止步 | 技术我们做朋友吧! 

06 2012 档案

摘要:aaaa 阅读全文
posted @ 2012-06-27 16:29 牧马 阅读(1100) 评论(0) 推荐(0) 编辑
摘要:只要在mvc项目根目录下添加一个aspx页面,然后右键点击“浏览方式”,设置为想要的浏览器就行了,然后将该新建页删除,启动调试项目看看吧 阅读全文
posted @ 2012-06-25 14:07 牧马 阅读(326) 评论(0) 推荐(0) 编辑
摘要:FileStream fs = null;byte[] buffer = null;try{ if (File.Exists(filePath)) //图片文件的全路径字符串 { fs = new FileStream(filePath, FileMode.Open); buffer = new byte[fs.Length]; fs.Read(buffer, 0, int.Parse(fs.Length.ToString())); fs.Close(); fs.Dispose(); }}catch{ fs.Close(); fs.Dispose();}return buffer;//图片文件 阅读全文
posted @ 2012-06-02 16:12 牧马 阅读(475) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示