In addition to the sample above you may want to make use of QueryDisplayExpressions (on both BasicFeatureLayer & StandaloneTable through ArcGIS.Desktop.Mapping.IDisplayTable) as this will retrieve the display expression strings for features (by ObjectID) that is meant to be the canonical string representation of that feature for use in UI (and is controlled by a layer defined script). Perhaps this sample could be enhanced to use this approach.