ASP.NET Table Caption 属性
ASP.NET Caption 属性

定义和用法
Caption 属性用于为 Table 控件获取或设置显示为标题的文本。
语法
<asp:Table Caption="string" runat="server">
Some Content
</asp:Table>
Some Content
</asp:Table>
属性 | 描述 |
---|---|
string | 显示为表格标题的文本。 |
实例
下面的实例为 Table 控件设置了 Caption:
<form runat="server">
<asp:Table id="tab1" runat="server"
Caption="Table 实例">
<asp:TableRow>
<asp:TableCell>
Hello!
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
<asp:Table id="tab1" runat="server"
Caption="Table 实例">
<asp:TableRow>
<asp:TableCell>
Hello!
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
演示实例 »

相关文章
- ASP.NET Web Pages 教程
- ASP.NET Web Pages 帮助器
- ASP.NET Web Pages WebGrid
- ASP.NET Web Pages Database 参考手册
- ASP.NET Web Pages WebMail 参考手册
- ASP.NET Razor 标记
- ASP.NET Razor 语法
- ASP.NET 服务器控件
- ASP.NET Repeater 控件
- ASP.NET 导航
- WebSecurity IsAuthenticated 属性
- WebSecurity InitializeDatabaseConnection 方法
- WebSecurity IsConfirmed 方法
- ASP.NET HTML 控件 Calendar 3
- ASP.NET HTML 控件 Hyperlink
- ASP.NET HTML 控件 用 重复
- ASP.NET HTML 控件 CustomValidator
- ASP.NET HTML 控件 Page_Load
- htmlanchor
- ASP.NET Calendar NextMonthText 属性