ASP.Net/Server/Transfer
Версия от 15:30, 26 мая 2010; (обсуждение)
Transferring Control to Another Page (VB.net)
<%@ Page Language="VB" %>
<html>
<head>
<title>Transferring Control to Another Page</title>
<script runat="server">
Sub Transfer()
" Dim Url As String = "yourASPFile.aspx"
Dim Url As String = "file.txt"
Server.Transfer(Url)
Response.Write("This code will never be executed!")
End Sub
</script>
</head>
<body>
<% Transfer %>
</body>
</html>