ASP.NET TableCell TextProperty
TableCell Control
Definition and Usage
The Text property is used to set or return the text content of the TableCell control.
Syntax
<asp:TableCell Text="string" runat="server" />
| Property | Description |
|---|---|
| string | A string value that specifies the text of the table cell. |
Example
The following example sets the text of the TableCell control:
<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>
Demo Example »
TableCell Control Other Extensions