sunrack

 

                Response.Charset = "GB-2312";
                Response.AppendHeader(
"Content-Disposition""attachment; filename=" + HttpUtility.UrlEncode(curResource.ResourceURL));
                Response.ContentEncoding
=System.Text.Encoding.UTF7;
                Response.ContentType 
= "application/octet-stream";
                Response.TransmitFile(Server.MapPath(StudentHomeManager.DownloadPath 
+ "/" + curResource.ResourceURL));
                Response.End();

分类:

技术点:

相关文章:

猜你喜欢
相关资源
相似解决方案