开发者

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. Any idea on how to access the data in the datarow using Oxygene?

index开发者_运维问答Value:=dtIndexValues.Rows[1].Item('IndexID');


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

or

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

since Item is the default indexer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜