Checking Content Type (VB.net) : Content « Response « ASP.Net






Checking Content Type (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Checking Content Type in ASP.NET</title>
      <script runat="server">
         Sub Page_Load()
            Message.Text = "Current content type is " & _
               Response.ContentType & "</br>"
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>
           
       








Related examples in the same category

1.Suppressing content (VB.net)