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>
相關(guān)文章
- ASP.NET Web Pages 教程
- ASP.NET Web Pages HTML 表單
- ASP.NET Web Pages 文件
- ASP.NET Web Pages 類(lèi)參考手冊(cè)
- ASP.NET Web Pages WebSecurity 參考手冊(cè)
- ASP.NET Web Pages Database 參考手冊(cè)
- ASP.NET MVC 視圖
- ASP.NET MVC HTML 幫助器
- ASP.NET Web 頁(yè)面
- ASP.NET Web 表單
- ASP.NET 實(shí)例
- ASP.NET CompareValidator 控件
- ASP.NET Calendar 控件
- ASP.NET CheckBox 控件
- ASP.NET RadioButton 控件
- ASP.NET XML 控件
- WebSecurity IsAuthenticated 屬性
- AdRotator
- Button
- ASP.NET HTML 控件 Calendar