来源:http://www.cnblogs.com/tengs2000/archive/2009/02/23/1396646.html

 

一、直接显示,使用的还是原页面的URL

1 Response.ContentType = "application/pdf";
2 Response.Clear();
3 Response.TransmitFile(@"SharePoint.pdf");
4 Response.End();
C# Code

相关文章: