ASP.Net/Response/Status
Sending status (VB.net)
<source lang="csharp">
<%@ Page Language="vb" %> <html>
<head> <title>Sending status in ASP.NET</title> <script runat="server"> Sub Page_Load() Response.StatusCode = 542 Response.StatusDescription = "Server Error - The code is the answer." Response.End() End Sub </script> </head>
<body>
<asp:label id="Message" runat="server"/>
</body> </html>
</source>