ASP.NET HTML 控件 Literal 2
asp.net html 控件 literal 2
<script runat="server">
sub submit(sender as object, e as eventargs)
literal1.text="i love asp.net!"
end sub
</script>
<!doctype html>
<html>
<body>
<form runat="server">
<asp:literal id="literal1" text="i love asp!" runat="server" />
<br><br>
<asp:button text="change text" onclick="submit" runat="server" />
</form>
</body>
</html>
sub submit(sender as object, e as eventargs)
literal1.text="i love asp.net!"
end sub
</script>
<!doctype html>
<html>
<body>
<form runat="server">
<asp:literal id="literal1" text="i love asp!" runat="server" />
<br><br>
<asp:button text="change text" onclick="submit" runat="server" />
</form>
</body>
</html>
相关文章
- ASP.NET Web Pages 教程
- ASP.NET Web Pages HTML 表单
- ASP.NET Web Pages 文件
- ASP.NET Web Pages 类参考手册
- ASP.NET Web Pages WebSecurity 参考手册
- ASP.NET Web Pages Database 参考手册
- ASP.NET MVC 视图
- ASP.NET MVC HTML 帮助器
- ASP.NET Web 页面
- ASP.NET Web 表单
- ASP.NET 实例
- ASP.NET CompareValidator 控件
- ASP.NET Calendar 控件
- ASP.NET CheckBox 控件
- ASP.NET RadioButton 控件
- ASP.NET XML 控件
- WebSecurity IsAuthenticated 属性
- AdRotator
- Button
- ASP.NET HTML 控件 Calendar