Editing shapefile via Runtime .NET SDK

3100
1
07-13-2015 04:36 AM
SzymonPiskula
New Contributor

Hi

I try to add a new feature to a shapefile using the following test code but i get:

'SQL error or missing database' error.

I tried populating FID field but that does not help.  The source shapefile loads and draws OK on the map. Also i checked and it is not set to read-only. Is it possible at all to edit directly shape files using the SDK? What would be the correct way of doing it?

Thanks

Szymon

Tags (3)
0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor

Hi,

Shapefiles are currently read-only, this should be reflected in the value of the ShapefileTable.IsReadOnly property. In a future release we would like to make Shapefiles editable but the mobile geodatabase will obviously remain the recommended route for editing data.

Cheers

Mike

0 Kudos