请指教,谢谢

解决方案 »

  1.   

    在b中:opener.location.href=url
    opener.refresh
    self.close();
      

  2.   

    用脚本:top.window.top.close();document.forms[0].submit();
      

  3.   


    Response.Write ("<script>opener.location.reload();</script>");
    this.Response.Write("<script>");
    this.Response.Write("window.close();");
    this.Response.Write("</script>");在button的onclick事件中加入上面的代码就可以实现,我试过了。
      

  4.   

    A.aspx在一个事件中插入如下代码:
    this.RegisterStartupScript("Open","<script>window.showModalDialog('b.aspx');window.location.href=window.location.href</script>");
    这样b.aspx关闭后会自动刷新A.aspx
      

  5.   

    Response.Write(@"<script language='javascript'>
    window.showModalDialog('新页面','' ,'dialogHeight:420px;dialogWidth:680px');
    location.href=当前页面?';</script>");
      

  6.   

    多了个?号
    Response.Write(@"<script language='javascript'>
    window.showModalDialog('新页面','' ,'dialogHeight:420px;dialogWidth:680px');
    location.href=当前页面';</script>");
      

  7.   

    怎样用asp程序设计(vb语言)实现1+2+3+...+N的代码