<%@ Page Language="vb" %>
<html>
<head>
<title>Response property example</title>
<script runat="server">
Sub Page_Load()
Response.ContentType = "text/xml"
myMessage.Text = "This page will be displayed as XML in " & _
"Internet Explorer 5.0 or above."
End Sub
</script>
</head>
<body>
<asp:label id="myMessage" runat="server"/>
</body>
</html>
|