Writing Output (VB.net) : Write « Response « ASP.Net






Writing Output (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Writing Output in ASP.NET</title>
      <script runat="server">
         Sub Page_Load()
            Dim myWriter As System.IO.TextWriter
            myWriter = Response.Output
            myWriter.WriteLine("www.java2s.com!")
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>
           
       








Related examples in the same category

1.Writing character output (VB.net)
2.Use Response Write to output HTML (C#)
3.Use Response.Write to add HTML (VB.net)