DS version 377.
I have a line of code that creates simple expression filter:
List<IFeature> shps = stateFeatures.SelectByAttribute("[" + fieldStateValue + "]='" + stID + "'");
Which resolves to:
List<IFeature> shps = stateFeatures.SelectByAttribute("[st]='Al'");
Whenever it goes over that line of code it throws this error:
System.Collections.Generic.KeyNotFoundException was unhandled
Message=The given key was not present in the dictionary.
on line 1087 of FeatureSet.cs:
result.AddRange(rows.Select(dr => FeatureLookup[dr]));
The dr in that line seems to be the dataRow i'm interested in.
What am I doing wrong here?