在ASP.NET FOR C#的instanceWebForm.aspx的HTML中的/body前写入以入代码
<!-- #Include file=".\Default.aspx" -->;
或
<!-- #Include virtual=".\Default.aspx" -->;
</body>
希望在此页面包含有Default.aspx页面内容
但总在运行时收到以下提示信息
Parser Error Message: There can be only one 'page' directive.
究竟为何?
如何才能在一个页面中包含另一个页面内容?
<!-- #Include file=".\Default.aspx" -->;
或
<!-- #Include virtual=".\Default.aspx" -->;
</body>
希望在此页面包含有Default.aspx页面内容
但总在运行时收到以下提示信息
Parser Error Message: There can be only one 'page' directive.
究竟为何?
如何才能在一个页面中包含另一个页面内容?
<iframe src="xxxx.aspx"></iframe>
2.使用
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<OBJECT id="Object1" type="text/x-scriptlet" width="100%" height="166" data="http://www.ipay.com.cn/bank/ipay.shtml" VIEWASTEXT>
</OBJECT>
</TABLE>
调整table