会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
qiulh
博客园
首页
新随笔
联系
订阅
管理
公告
2007年3月29日
#
ASP.NET文件下载的几种方法
摘要: 当服务器要提供文件下载时,HttpResponse有这么几种方法可以使用。1)用Response.WriteFile,如: Response.ContentType = "application/octet-stream"; Response.WriteFile(@"whatever.zip"); 2) 采用aspnet2.0的新方法 Respo...
阅读全文
posted @ 2007-03-29 14:46 不倒翁
阅读(1164)
评论(0)
推荐(1)
编辑
Powered by:
博客园
Copyright © 2024 不倒翁
Powered by .NET 8.0 on Kubernetes