# TableCell.Text Property

> Gets or sets the cell's text.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl > TableCell.Text Property
- **412 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablecell/text-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablecell/text-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablecell/text-property/llms-full.txt

---

### Description

Gets or sets the cell's text.

### Syntax

```csharp
public string Text { get; set; }
```

```vbnet
Public Property Text As String
```

### Examples

The following example fills an invoice table cell with a product description.

```csharp
textControl.Tables.Add(3, 3, 10);
Table invoice = textControl.Tables.GetItem(10);
invoice.Cells[2, 1].Text = "Consulting services";
```

```vbnet
textControl.Tables.Add(3, 3, 10)
Dim invoice As Table = textControl.Tables.GetItem(10)
invoice.Cells(2, 1).Text = "Consulting services"
```

---

## Nearby

- **Previous:** [TableCell.Start Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablecell/start-property/llms-full.txt)
- **Next:** [TableCell.Width Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablecell/width-property/llms-full.txt)
