[英]How access datarow value using Oxygene
The following line of code generates the compile time error (PE19) There is no overloaded method "get_item" with 0 parameters. 下面的代码行生成编译时错误(PE19)没有带有0参数的重载方法“ get_item”。 Any idea on how to access the data in the datarow using Oxygene? 关于如何使用Oxygene访问数据行中的数据的任何想法?
indexValue:=dtIndexValues.Rows[1].Item('IndexID');
indexValue := dtIndexValues.Rows[1].Item['IndexID'];
or 要么
indexValue := dtIndexValues.Rows[1]['IndexID'];
since Item is the default indexer. 因为Item是默认的索引器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.