asp.net 中框架页showpostframe.aspx为何得不到参数呢???
1) 目的是在:showpost.aspx文件中,加载一个框架showpostframe.aspx
showpost.aspx代码如下
<table height="402" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<tr>
<td ><iframe src="showpostframe.aspx?b_id=<%=strb_id%>&fy_id=<%=strfy_id%>" ></iframe>
</td>
</tr>
</table>
2) showpost.aspx.cs 文件中代码如下
public string strb_id,strfy_id;
private void Page_Load(object sender, System.EventArgs e)
{
strb_id=Request.QueryString["b_id"].ToString();
strfy_id=Request.QueryString["fy_id"].ToString();
}
3)showpostframe.aspx.cs 部分代码如下
public string bid,fyid;
private void Page_Load(object sender, System.EventArgs e)
{
bid=Request.QueryString["b_id"];
fyid=Request.QueryString["fy_id"];
}
但是bid和fyid都得不到传过来的值呀???高手请详细指点下.....