ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.DataType Property

Gets or sets the type of object stored for a Column.

[Visual Basic]

Public Property DataType As Type

[C#]

public Type DataType {get;set;}

[Delphi]

public property DataType: Type read get_DataType write set_DataType;

Example

The following code uses the DataType property to get the data type:

·      Visual Basic

Me.C1TrueDBGrid1.Columns(0).DataType.Name

·      C#

this.c1TrueDBGrid1.Columns[0].DataType.Name;

·      Delphi

Self.C1TrueDBGrid1.Columns[0].DataType.Name;

See Also

C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.