ASP.Net/Response/Redirecting

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

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.nfex.ru", True)
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>