pdf文件如何输出到ie?同样的程序导word文件成功
System.Web.HttpResponse Response=System.Web.HttpContext.Current.Response;
Response.Clear();
Response.ClearContent();
Response.ClearHeaders();
\\Response.ContentType="application/msword";\\导成word成功
Response.ContentType="application/pdf";\\导成pdf失败,页面显示空白pdf
Response.WriteFile("c:\\temp.pdf");
Response.Flush();
Response.Close();