codice:
<html>
<body>
<script language="VB" runat="server">
Sub Page_Load()
DeclareLove()
End Sub
Sub DeclareLove()
response.write("<h1>ASP.NET is my love</h1>")
End Sub
</script>
</body>
</html>
oppure
codice:
<html>
<body>
<script language="VB" runat="server">
Sub Page_Load()
response.write("<h1>ASP.NET is my love</h1>")
End Sub
</script>
</body>
</html>
l'unica sub "responsabile" del caricamento della pagina è Page_Load .. DeclareLove è una sub ke tu hai fatto, ke nn aspetta altro ke essere kiamata.. se qualcuno la kiama .. se nn la kiama nessuno ti viene la tua pagina bianca