Header Renderer Function (VB.net) : HTML Header « HTML Control « ASP.Net






Header Renderer Function (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Displaying the HTTP headers collection in ASP.NET</title>
      <script language="VB" runat=server>

         Function SayHello() As String
            SayHello = "Hello World!"
         End Function

      </script>
   </head>
<body>

<p>



<%
   Dim s As String
   s = SayHello()
   Response.Write(s)
%>


</p>

</body>
</html>
           
       








Related examples in the same category