简单教程
提交运行
代码编辑器:
<script runat="server"> Sub submit(Source As Object, e As EventArgs) button1.Text="You clicked me!" End Sub </script> <!DOCTYPE html> <meta charset="utf-8" /> <form runat="server"> <asp:Button id="button1" Text="Click me!" runat="server" OnClick="submit" /> </form>
运行结果: