ASP.NET(vb.net) Response.Redirect() - Response Object - Response.Redirect() : The Redirect method causes the browser to redirect the client to a different URL.
ShotDev Focus:
- ASP.NET(vb.net) Response.Redirect() - Response Object
Example
AspNetResponseRedirect.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Response.Redirect("http://www.shotdev.com") End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form id="form1" runat="server"> <asp:Label id="lblText" runat="server"></asp:Label> </form> </body> </html>
Screenshot