C#页面显示
C#,如何在一个页面显示两个页内容,就是一个页面包含两页信息,根据需要显示需要的页面。
------解决方案--------------------显示隐藏动态切换
------解决方案--------------------用placeholder控件
后台控制方便
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
   <title></title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
       <asp:PlaceHolder ID="phView1" runat="server" Visible="true"></asp:PlaceHolder>
       <asp:PlaceHolder ID="phView2" runat="server" Visible="false"></asp:PlaceHolder>
   </div>
   </form>
</body>
</html>