下面的代码行生成编译时错误(PE19)没有带有0参数的重载方法“ get_item”。关于如何使用Oxygene访问数据行中的数据的任何想法?
indexValue:=dtIndexValues.Rows[1].Item('IndexID');
最佳答案
indexValue := dtIndexValues.Rows[1].Item['IndexID'];
要么
indexValue := dtIndexValues.Rows[1]['IndexID'];
因为Item是默认的索引器。
关于delphi - 如何使用Oxygene访问数据行值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1702856/