摘要: string path= "aa.pdf"; //Or URL System.Net.WebClient w = new WebClient(); byte[] f= w.DownloadData(path); //保存到数据varbinary字段类型中 //取出后 Response.AddHeader("Content-Disposition", "attachment;filename=d.pdf"); Response.ContentType = "Application/pdf"; Response.Bin 阅读全文
posted @ 2011-10-11 18:03 visi 阅读(284) 评论(0) 推荐(0) 编辑