كيف نستعرض ملف PDF في صفحة ASPX ؟

السلام عليكم ورحمة الله وبركاته …

المسار =string filepath ;
            byte[] bts = System.IO.File.ReadAllBytes(Server .MapPath ( filepath));
            Response.Clear();
            Response.ClearHeaders();
            Response.ContentType = "application/pdf";
            Response.WriteFile(Server .MapPath ( filepath));
            Response.Flush();
            Response.End();