关注一下,这个怕是只能用javascript来做了吧。在静态页面中,好相没有法子取application的值啊

解决方案 »

  1.   

    如果是动态生成的html可能还可以,不是的话就不行的,用cookie或者链接?参数等等常规传值方法
      

  2.   

    楼主 
    最简单也最笨的方法
    你既然回用Application 那么Session 也应该不在话下 
    使用A页面Session[""]=Application.value;B页面TextBox.TEXT=Session[""];
    就可以了
      

  3.   

    如果a.aspx --> b.html
    在a.aspx中response.redirect("b.html?"+application["a"].tostring());
    在b.html中document.getElementById("text1").value=location.href.substr(location.href.indexOf('?')+1);
      

  4.   

    TextBox.TEXT = Application[""].tostring();