ASP.NET TableCell Text property
Definition and Usage
Text property sets or returns the TableCell control text.
grammar
<asp:TableCell Text="string" runat="server" />
属性 | 描述 |
---|---|
string | 字符串值,规定表格单元格的文本。 |
Examples
The following example sets the text TableCell controls:
<form runat="server">
<asp:Table id="tab1" runat="server">
<asp:TableRow>
<asp:TableCell Text="Hello" />
</asp:TableRow>
</asp:Table>
</form>
<asp:Table id="tab1" runat="server">
<asp:TableRow>
<asp:TableCell Text="Hello" />
</asp:TableRow>
</asp:Table>
</form>
The demonstration >>
TableCell control