Version

DataType Property (BoundDataField)

Full type name, for example System.Int32, System.DateTime, etc., that should be used for the field in case the field original type is not available for the grid.
Syntax
'Declaration
 
Public Overridable Property DataType As String
public virtual string DataType {get; set;}
Remarks
Setting this property will ensure that correct editor is used for the columns which are bound to empty data sources as some of the data source do not provide any data field type information if no rows are present in the table.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also