AnsweredAssumed Answered

use ShapefileWorkspaceFactory loop dbf file, how can get corresponding value with the max value of a field

Question asked by ppLily on Oct 3, 2014
Latest reply on Oct 8, 2014 by ppLily

Hi everyone,


I am using ShapefileWorkspaceFactory to retrieve data from a dbf file. Now I can read data of some specified field (by field name), I have no idea how to get corresponding value with the maximum value of a field.


For example, in the dbf file I retrieve 3 fields of data: RegisterID, ItemName, Category


I am asking how to get the ItemName and Category with the maximum RegisterID.


I am using arcobjects. Thanks in advance.