Redirecting to a new page (VB.net) : Redirecting « Response « ASP.Net






Redirecting to a new page (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Redirecting to a new page in ASP.NET</title>
      <script runat="server">
         Sub Page_Load()
            Response.Redirect("http://www.java2s.com", True)
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>
           
       








Related examples in the same category