利用前台代码打开 <object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" border="0" height="100%" width="100%"> <param name="_Version" value="65539"> <param name="_ExtentX" value="20108"> <param name="_ExtentY" value="10866"> <param name="_StockProps" value="0"> <param name="SRC" value="pdf/<% =Request.QueryString["rnd"] %>"> </object> 也可以利用后台代码打开 string rnd = Request.QueryString["rnd"].ToString(); Response.ContentType = "Application/pdf"; string FilePath = Server.MapPath("pdf")+"//"+rnd; Response.WriteFile(FilePath); Response.End();