<%@ Page Language="VB" %> <script runat="server"> sub Page_Load(Sender as object, e as eventargs) dim MyMessage As String = "Hello" dim MyBool As Boolean = True if MyMessage = "Hello" then Response.Write("True") end if if MyBool then Response.Write("True") end if end sub </script> <html><body> </body></html>