简单教程
提交运行
代码编辑器:
<script runat="server"> Sub Page_Load lbl1.Text="The date and time is " & now() End Sub </script> <!DOCTYPE html> <meta charset="utf-8" /> <form runat="server"> <h3><asp:label id="lbl1" runat="server" /></h3> </form>
运行结果: