<%@ Page Language="vb" %>
<html>
<head>
<title>Suppressing content in ASP.NET</title>
<script runat="server">
Sub Page_Load()
Response.Write("Hello, World!")
Response.SuppressContent = True
If Response.SuppressContent Then Response.Close()
End Sub
</script>
</head>
<body>
<asp:label id="myMessage" runat="server"/>
</body>
</html>
|