2016-05-12 70 views

回答

0

试试这个更简单 Response.Clear();

string filePath = ur file path on the server like ~/123.pdf 

Response.contentType = "application/pdf"; 

Response.WriteFile(filePath); 
+0

请提供一些你的回答的解释 – Mostafiz

+0

@Wais请编辑你现有的[答案](http://stackoverflow.com/a/37191392/296861),而不是创建一个新的答案。 – Win

+0

什么是您的pdf文件的路径像〜/ 123.pdf – Wais

相关问题