Mega Code Archive

 
Categories / ASP.Net / Language Basics
 

Define and call function in a page (VB net)

<%@ Page Language="VB" %> <html> <head>    <title>Simple ASP.NET Page</title>    <script runat="server">       Sub SayHello()          Response.Write("Hello, World!")       End Sub    </script> </head> <body> <% SayHello %> </body> </html>