yourbutton.Attributes("onclick") = "javascript:open('" & url & "');"

解决方案 »

  1.   

    Reponse.Redirect("2.aspx");
    就可以了,太好了。
    顺便再问一下,我想打开页面的时候不覆盖主页面,好象是html中的一个属性大家提供一下吧
      

  2.   

    还有,我如何取的表中的name字段,然后把他付给一个字符串变量?
      

  3.   

    Response.Redirect("2.apsx?name=fuck")
    如果是变量就
    Response.Redirect("2.apsx?name="+fuck+"")orResponse.Redirect("2.apsx?name='+fuck+'")
    i am not sure~~ u can try it~~