Button

asp.net html 控件 

button

<script  runat="server">
sub submit(source as object, e as eventargs)
   button1.text="you clicked me!"
end sub
</script>


<!doctype html>
<html>
<body>

<form runat="server">
<asp:button id="button1" text="click me!" runat="server" onclick="submit" />
</form>

</body>
</html>

相关文章