导航

2007年12月26日

摘要: 转载http://www.cnblogs.com/zjy/archive/2007/05/16/529966.html 因为项目需要,使用了模态窗口,故在BasePage中的override void OnInit(EventArgs e)中加入如下内容. Response.Clear(); Response.Buffer = true; ... 阅读全文

posted @ 2007-12-26 16:03 Saga 阅读(1096) 评论(0) 推荐(0)

摘要: MSDN 本文将介绍以下内容: • 从 ASP.NET 站点进行动态下载 • 生成即时链接 ... 阅读全文

posted @ 2007-12-26 15:51 Saga 阅读(204) 评论(0) 推荐(0)

摘要: 对于大文件的输出 不要使用Response.WriteFile 你的内存会被耗尽的 string filePath = "xxxx.pdf"; string FullFileName = Server.MapPath(filePath); if (File.Exists(FullFileName)) ... 阅读全文

posted @ 2007-12-26 15:47 Saga 阅读(174) 评论(0) 推荐(0)