随笔 - 118,  文章 - 5,  评论 - 15,  阅读 - 17万
07 2012 档案
异常信息:由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribut
摘要:在wcf项目下,找到web.config 文件修改如下<serviceDebug includeExceptionDetailInFaults="true"/> 阅读全文
posted @ 2012-07-24 17:03 mrma1989 阅读(273) 评论(0) 推荐(0) 编辑
.net 下载图片.word,
摘要:protected void GetDownload(string xlfile) { string path = Server.MapPath(xlfile); System.IO.FileInfo file = new System.IO.FileInfo(path); Response.Clear(); Response.Charset = "GB2312"; Response.ContentEncoding = System.Text.Encoding.UTF8; // 添加头信息,为"文件下载... 阅读全文
posted @ 2012-07-24 16:26 mrma1989 阅读(229) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示