# DataType

Namespace: **PPJ.Runtime.Windows**

Assembly: **PPJ.Runtime.49** (4.9.0.0)

Data typed for the SalDataField and SalTableColumn controls.

{% tabs %}
{% tab title="C#" %}

```csharp
public enum DataType : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum DataType As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name         | Description |
| ------------ | ----------- |
| **Binary**   | binary      |
| **DateTime** | datetime    |
| **Number**   | number      |
| **String**   | string      |

## Used By

| Name                                                                                                                                 | Description                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| [SalDataField.DataType](https://desktop-api.iceteagroup.com/ppj.runtime.49/controls/saldatafield/ppj.runtime.windows.datatype)       | Value type of the text box control.                                                                                |
| [SalTableColumn.DataType](https://desktop-api.iceteagroup.com/ppj.runtime.49/controls/saldatafield/ppj.runtime.windows.datatype)     | Value type of the text box control.                                                                                |
| [SalTableWindow.CreateColumn](https://desktop-api.iceteagroup.com/ppj.runtime.49/controls/saldatafield/ppj.runtime.windows.datatype) | Creates a table window column of string data type at runtime. When you return to design mode, destroys the column. |
