# DataSourceExtractionDialog.SelectedTable Property

> Returns a description of the table which was selected by the user to be exported.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.DocumentServer.Windows.Forms`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDocumentServer.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.Windows.Forms > DataSourceExtractionDialog.SelectedTable Property
- **308 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/datasourceextractiondialog/selectedtable-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/datasourceextractiondialog/selectedtable-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/datasourceextractiondialog/selectedtable-property/llms-full.txt

---

### Description

Returns a description of the table which was selected by the user to be exported.

### Syntax

```csharp
public DataTableInfo SelectedTable { get; }
```

```vbnet
Public ReadOnly Property SelectedTable As DataTableInfo
```

### Examples

The following example includes the selected table value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Selected Table: {dataSourceExtractionDialog.SelectedTable}");
Console.WriteLine("Data Source Extraction Dialog is ready for use.");
```

```vbnet
Console.WriteLine($"Selected Table: {dataSourceExtractionDialog.SelectedTable}")
Console.WriteLine("Data Source Extraction Dialog is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [DataSourceExtractionDialog.MaxRows Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/datasourceextractiondialog/maxrows-property/llms-full.txt)
- **Next:** [EditDataRelationsDialog Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-windows-forms/editdatarelationsdialog/llms-full.txt)
