用HTTP头指定下载文件名

Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "filename=新采购商.xls");

Tag标签: HTTP 协议
发表于 2010-01-26 15:10:47 收藏 所属分类: 备忘录 网摘收藏
相关文章: