lz,web程序是在一个浏览器进程里运行的,客户端有请求,服务器才有响应,你要实现的效果除非是a页面操作后存入数据库,b页面定时刷新(或者ajax)从服务器读数据

解决方案 »

  1.   

    有没有什么方法,a页面操作后存入数据库后通知b页面读数据,如果一直刷新不是很占CPU
      

  2.   

    模态对话框,和ajax无关 this.Page.RegisterStartupScript("123", "<script>var aaa=window.showModalDialog('default.aspx','','');if(aaa==true){window.location=window.location;}</script>");
      

  3.   

    不是很懂,学习~
    this.Page.RegisterStartupScript("123", "<script>var aaa=window.showModalDialog('default.aspx','','');if(aaa==true){window.location=window.location;}</script>");研究一下,呵呵~
      

  4.   

    this.Page.RegisterStartupScript("123", "<script>var aaa=window.showModalDialog('default.aspx','','');if(aaa==true){window.location=window.location;}</script>");这个貌似只适合IE