asp.net mvc 中使用 iframe 加载相应的静态html页面进行显示
2024-08-30 02:39:27
<iframe src='<%=ResolveUrl("~/Content/HTML_file/Agreement.html")%>'
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>AgreementContent</title>
</head>
<body>
<iframe src='<%=ResolveUrl("~/Content/HTML_file/Agreement.html")%>' width="640px" height="540px" style=" margin-top:3px; margin-left:3px;"></iframe> </body>
</html>
最新文章
- Python 修改电脑DNS
- owin建控制台应用程序步骤
- 使用PDFCreate 和 Powershell 自动保存网页为PDF
- C primer plus 练习题 第三章
- SQL top order between 一起使用
- MyEclipse8.6 破解以及注册码
- many-to-one和one-to-many的配置比较
- protocol buffer介绍(protobuf)
- 微信支付:redirect_uri参数错误 的解决办法
- windows下配置lamp环境(0)---软件获取
- 这样就算会了PHP么?-7
- Lucene文件扩展名
- jquery 获取自定义属性(attr 和 prop的区别)
- Docker4Windows -- 从外部(非本机host)访问 由docker container运行的程序
- 大数据算法设计模式(2) - 左外链接(leftOuterJoin) spark实现
- python3 配置logging日志类
- 获取Android设备WIFI的MAC地址 “MAC地址”
- Oracle分析函数-OLAP函数总结
- JOISC 2017 自然公园
- Linux 命令详解(十一)Shell 解析 json命令jq详解