RAD Studio VCL Reference
TParameter.DataType Property

Indicates the type of value the parameter represents.

property DataType: TDataType;
__property TDataType DataType;

Set DataType to reflect the data type of the value the parameter represents. The default value of DataType is ftUnknown. 

Read DataType to discover the type of data that was assigned to the parameter. Each possible value of DataType corresponds to a type of table field.  

ADOStoredProc1.Parameters.Items[0].DataType := ftString;


ADOStoredProc1->Parameters->Items[0]->DataType = ftString;


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!