ASP.Net/HTML Control/HTML Header

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

Header Renderer Function (VB.net)

   <source lang="csharp">

<%@ 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>

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

</body> </html>

      </source>