日期:2014-05-17 浏览次数:20629 次
Response.Redirect("Welcome.aspx?val="+userName);
//获取传过来的用户Id public string GetUser_id() { string user_id = Request.QueryString["val"].ToString(); return user_id; }
<frameset rows="25,*" frameborder="no" frameborder="1" framespacing="0"> <frame src="a.aspx" noresize="noresize" frameborder="NO" name="topFrame" scrolling="no" marginwidth="0" marginheight="0" target="tops" /> <frameset cols="184,*" id="Leftframe"> <frame src="b.aspx" name="leftFrame" noresize="noresize" marginwidth="0" marginheight="0" frameborder="1" scrolling="no" target="lefts" /> <frame src="c.aspx" name="main" marginwidth="0" marginheight="0" frameborder="1" scrolling="auto" target="main" /> </frameset>
------解决方案--------------------
你这个应该是iframe的问题吧。。。。试试在C页面中加上
<script type="text/javascript">
function Redirect()
{
window.top.location = "c.aspx";
}
</script>
<body onload="Redirect();">
</body>