Textbox 3
asp.net html 控件 textbox 3
<script runat="server">
sub change(sender as object, e as eventargs)
lbl1.text="you changed text to " & txt1.text
end sub
</script>
<!doctype html>
<html>
<body>
<form runat="server">
change text
<asp:textbox id="txt1" runat="server"
text="hello world!" ontextchanged="change" autopostback="true"/>
<p><asp:label id="lbl1" runat="server" /></p>
</form>
</body>
</html>
sub change(sender as object, e as eventargs)
lbl1.text="you changed text to " & txt1.text
end sub
</script>
<!doctype html>
<html>
<body>
<form runat="server">
change text
<asp:textbox id="txt1" runat="server"
text="hello world!" ontextchanged="change" autopostback="true"/>
<p><asp:label id="lbl1" runat="server" /></p>
</form>
</body>
</html>
相关文章
- ASP.NET Web Pages 帮助器
- ASP.NET Web Pages 图表
- ASP.NET Web Pages WebSecurity 参考手册
- ASP.NET SortedList
- ASP.NET DataList 控件
- ASP.NET Image 控件
- ASP.NET LinkButton 控件
- WebSecurity HasUserId 属性
- WebSecurity CreateAccount 方法
- WebSecurity GeneratePasswordResetToken 方法
- WebSecurity IsCurrentUser 方法
- WebSecurity RequireAuthenticatedUser 方法
- WebSecurity ResetPassword 方法
- HTML InputImage
- ASP.NET HTML 控件 Checkbox
- ASP.NET HTML 控件 用 styles的DataList
- ASP.NET HTML 控件 linkbutton
- ASP.NET HTML 控件 Literal
- ASP.NET HTML 控件 Panel
- ASP.NET HTML 控件 用 重复