





















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.BinaryWrite(f);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。