vs2008如何在1个页面包含多个页面的内容

来源:百度知道 编辑:UC知道 时间:2024/06/21 15:11:33
请问,书上写main.aspx里面由3个页面,假设为1.aspx,2.aspx,3.aspx组成,用什么办法能在main.aspx里面分开3份,分别是1.aspx,2.aspx,3.aspx的内容,用什么技术
希望能注明例子或代码

用iframe

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>AttendanceFrame</title>
</head>
<frameset cols="160,*" framespacing="5" frameborder="1" id="BasicTableFrame" onload =HideTree() >
<frameset rows="24,*" onload="HideTree()" framespacing="0" frameborder="0">
<frame src="LeaveHead.aspx" width=100% frameborder="0" scrolling=no marginheight=0 marginwidth=0>
<frame name="LeaveTree" src="LeaveTree.aspx" frameborder="0">
</frameset>
<frame name="Leave" src= "Leave.aspx frameborder="0" bordercolor="#53A1CA">
<noframes><