System.Web.UI.WebControls Namespace TableCell Class
Sets or retrieves the text displayed in a TableCell.
Inline |
<asp:tablecell text = strText ... > |
Script |
TableCell.Text [ = strText ] |
strText |
String specifying the text displayed in a table cell. |
The property is read/write with no default value.
Use the Text property to specify or determine the text contents of a TableCell control. This property is commonly used to programmatically update the contents of a cell.
NOTE: Setting the Text property will clear any other controls contained in the TableCell.
TableCell Members