aspx page to redirect to a new page

后端 未结 8 1608
予麋鹿
予麋鹿 2020-12-02 19:53

What is the code required to redirect the browser to a new page with an ASPX page?

I have tried this on my page default.aspx :

<% Response.Redirec         


        
8条回答
  •  攒了一身酷
    2020-12-02 20:21

    If you are using VB, you need to drop the semicolon:

    <% Response.Redirect("new.aspx", true) %>
    

提交回复
热议问题