在网站中点击下载Access数据库的代码(总结)

时间:2014-02-25 21:24:10   收藏:0   阅读:361

        Response.ContentType = "application/x-zip-compressed";
        Response.AddHeader("Content-Disposition", "attachment;filename=" + urlname + "");
        string filename = Server.MapPath("~/PO/Access1/" + urlname + "");
        Response.TransmitFile(filename);

原文:http://www.cnblogs.com/tinaw/p/3566370.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!