1

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?

indexValue:=dtIndexValues.Rows[1].Item('IndexID');
Jim McKeeth
  • 38,225
  • 23
  • 120
  • 194
Bill Seven
  • 768
  • 9
  • 27

1 Answers1

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

or

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

since Item is the default indexer.

Carlo Kok
  • 1,128
  • 5
  • 14