I have a points shapefile with City, State, Zip columns. I want to merge the column data together into a new column containing: City-State-Zip (with the hyphen).
Can I merge column data like this using a IFeatureClass? If not what should I try?
Depending on whether you want to update all rows or just the selected row, you could make use of IFeatureClass's Search or Update methods to obtain an IFeatureCursor that you could then use to create your concatenated attribute value and then plop it into the
Personally, however, I always prefer to cast an IFeatureClass to an ITable. I just find myself more comfortable working with them. :)