日期:2014-05-20  浏览次数:20426 次

这个效果用ASP。NET怎么做?
http://union.baidu.com/initRegIndividualCustomerAction.do
获取验证文件
点这个链接就产生一个下载文件
如何用ASP。NET做一个不写到服务器上,直接就产生一个文件下载的功能?

------解决方案--------------------
this.Page.Response.ContentType = "application/octet-stream "; this.Page.Response.AppendHeader( "Content-Disposition ", "attachment;filename= " + HttpUtility.UrlEncode(fileName,System.Text.Encoding.UTF8)