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>