Data.Win.ADODB.TParameter.DataType
Delphi
property DataType: TDataType read GetDataType write SetDataType default ftUnknown;
C++
__property Data::Db::TFieldType DataType = {read=GetDataType, write=SetDataType, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TParameter |
Description
Indicates the type of value the parameter represents.
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;