lin_era 发表于 2008-5-19 15:20

button难道就不能实现转向的页在指定的框架里显示吗?

就是一个用于传递查询条件的button按钮,     click事件里: string sqlstr = "select * from vb_GoodsInfo where GoodsTypeName = '" + ddlGoodsType.SelectedValue  + "' order by GoodsDate desc";
        this.Response.Redirect("member/showSearchGoods.aspx?key=" + sqlstr  );

现在就是想让转向的member/showSearchGoods.aspx这个页在一个已经定义好了的名为mainframe的框架里显示,有什么方法可以实现吗?

hebingbing 发表于 2008-5-19 16:37

不要用Response.Redirect了,它不能完成这个功能的。你用Response.Write()的js来实现吧……

lin_era 发表于 2008-5-19 17:41

可是用js含有传参应该怎么个写法呢?麻烦了

页: [1]

编程论坛