<frameset rows="110,*" frameborder="NO" border="0" framespacing="0">
<frame src="Header.aspx" name="topFrame" scrolling="NO">
<frameset cols="200,*" frameborder="NO" border="0" framespacing="0" name="forum">
<frame src="Left.aspx" name="leftFrame" scrolling="yes" noresize >
<frame src="welcome.aspx" name="mainFrame" scrolling="yes" noresize>
</frameset>
</frameset>
</frameset>
<body>
</body>
Header.aspx:
<div style="float: left;">
当前登录用户:<asp:Label ID="Label1" runat="server" Font-Italic="True"></asp:Label>
</div>
<div style="float: right; margin-right:10px;">
<asp:Button ID="BtnReg" CssClass="btn_2k3" runat="server" Text="注 册" Width="60px"></asp:Button>
<asp:Button ID="BtnExit" CssClass="btn_2k3" runat="server" Text="退 出" Width="60px" OnClick="Button1_Click"/>
</div>
protected void BtnExit_Click(object sender, EventArgs e)
{
Response.Write("<script language=javascript>parent.location.href=''../Default.aspx''</script>");
}
向页面弹出提示后,跳转到其他页面
StringBuilder Builder = new StringBuilder();
|