ASP.Net/HTML Control/HTML Header

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

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>