Select to view content in your preferred language

FeatureDataTable has errors

504
1
12-16-2010 09:31 AM
Jitendrudulacaraju
Emerging Contributor
I cannot save edits to the feature layer :
int addedCount = featureDataTable.SaveInFeatureLayer();
i get a 0.
Found there is error on the featureDataTable.HasErrors = true.
Then diagnosed that I have a column error  as follows : Column Name- "The value is not contained in its value domain"

What is a possible reason? What is that I should do? Need urgent solution.
0 Kudos
1 Reply
AkhilParujanwala
Regular Contributor
Well explicitly your error is telling you the problem. The value located in the field is not right.

For example if you have a coded domain, and the codes were "feet" and "inches" and someone put in "meters" or your code put "meters" into the field, and then it gave you an error.

Or another example is a range domain, where the only valid numbers that can be entered in are 1-9, but someone put in 10, and then you get an error.
0 Kudos