初学,请教高手
IIS我都装了,虚拟目录我也建了,照书上编了个例子,存为.ASPX文件,纯HTML语句能显示,就是不执行VB语句,也没有显示出错信息,谢谢解答!![此贴子已经被作者于2005-1-11 9:10:28编辑过]
<script language="vb" runat="server"> Sub Page_Load() time.text=Hour(Now) & ":" & Minute(Now) & ":" & Second(Now) End Sub </script>
<html> <head><title>The Punctual Web Server</title></head> <body> <h1>Welcome</h1> In WebServerLand the time is currently: <asp:label id="time" runat="server" /> </body> </html> 结果是: In WebServerLand the time is currently: 后面没有时间了