当前位置:网站首页>vs怎么用一个Button链接到另一个页面

vs怎么用一个Button链接到另一个页面

2022-08-09 13:15:00 Serendipity_-

方法1:

设置按钮的onclick事件:onclick="aa.aspx"

方法2:

Response.Redirect("aa.aspx");

方法3:

Response.Write("<script>window.loaction.href='aa.aspx'</script>");

方法4:

Response.Write("<script language='javascript'>window.location='IndexNew.aspx'</script>");
原网站

版权声明
本文为[Serendipity_-]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_44394562/article/details/116153369