ASP.NET HTML 控件 Button 2
asp.net html 控件 button 2
<script runat="server">
sub submit(source as object, e as eventargs)
button1.style("background-color")="#0000ff"
button1.style("color")="#ffffff"
button1.style("width")="200px"
button1.style("cursor")="pointer"
button1.style("font-family")="verdana"
button1.style("font-weight")="bold"
button1.style("font-size")="14pt"
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>
sub submit(source as object, e as eventargs)
button1.style("background-color")="#0000ff"
button1.style("color")="#ffffff"
button1.style("width")="200px"
button1.style("cursor")="pointer"
button1.style("font-family")="verdana"
button1.style("font-weight")="bold"
button1.style("font-size")="14pt"
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>
相关文章
- ASP.NET
- ASP.NET Web Pages 帮助器
- ASP.NET Web Pages 图表
- ASP.NET Web Pages WebMail 参考手册
- ASP.NET Razor 标记
- ASP.NET Razor 语法
- ASP.NET Razor C# 循环和数组
- ASP.NET 数据绑定
- ASP.NET 母版页
- ASP.NET 实例
- ASP.NET HyperLink 控件
- ASP.NET Literal 控件
- WebSecurity CurrentUserName 属性
- WebSecurity HasUserId 属性
- WebSecurity IsAuthenticated 属性
- WebSecurity CreateUserAndAccount 方法
- WebSecurity GeneratePasswordResetToken 方法
- WebSecurity InitializeDatabaseConnection 方法
- WebSecurity IsConfirmed 方法
- WebSecurity RequireUser 方法