Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Delphi 如何使用Oxygene访问数据行值_Delphi_Oxygene - Fatal编程技术网

Delphi 如何使用Oxygene访问数据行值

Delphi 如何使用Oxygene访问数据行值,delphi,oxygene,Delphi,Oxygene,下面的代码行生成编译时错误(PE19)。没有带0个参数的重载方法“get_item”。知道如何使用Oxygene访问数据行中的数据吗 indexValue:=dtIndexValues.Rows[1].Item('IndexID'); 或 因为Item是默认的索引器 indexValue := dtIndexValues.Rows[1].Item['IndexID']; indexValue := dtIndexValues.Rows[1]['IndexID'];

下面的代码行生成编译时错误(PE19)。没有带0个参数的重载方法“get_item”。知道如何使用Oxygene访问数据行中的数据吗

indexValue:=dtIndexValues.Rows[1].Item('IndexID');

因为Item是默认的索引器

indexValue := dtIndexValues.Rows[1].Item['IndexID'];
indexValue := dtIndexValues.Rows[1]['IndexID'];