Select to view content in your preferred language

Why can't I use pRow.set_Value???

583
2
01-24-2011 09:39 AM
JoshV
by
Regular Contributor
Hello All-

I'm creating a C# Standalone application and I have initialized ArcObjects.  Whenever I need to update or add records to a featureclass or table I'm getting an error at pRow.set_Value below stating "Object does not contain a definition for 'set_Value'"...  Now in Visual Studio when I'm writing the code pRow does have set_Value when I type a "." after it.  I'm so confused here..

pRow.set_Value((int)l_FCWellID, pRow.get_Value((int)l_WellID)); 


Please add any thoughts if you have any.  Many thanks
0 Kudos
2 Replies
JoshV
by
Regular Contributor
It was my fault.  Datatypes weren't the same..  Sorry
0 Kudos
EzequiasRodrigues_da_Rocha
Regular Contributor
I have the same problem and the value was proper set.

In my case it is in a shapefile.

Any suggestion?
0 Kudos