更新时间:2022-06-24 22:35:12
// path=Enter your path which pdf files to display
byte[] bts = System.IO.File.ReadAllBytes(path);
Response.Clear();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.WriteFile(path);
Response.Flush();
Response.End();